7d8dac9211
Introduces a way to place CircuitPython code and data into tightly coupled memory (TCM) which is accessible by the CPU in a single cycle. It also frees up room in the corresponding cache for intermittent data. Loading from external flash is slow! The data cache is also now enabled. Adds support for the iMX RT 1021 chip. Adds three new boards: * iMX RT 1020 EVK * iMX RT 1060 EVK * Teensy 4.0 Related to #2492, #2472 and #2477. Fixes #2475.
21 lines
664 B
C
21 lines
664 B
C
#define MICROPY_HW_BOARD_NAME "Feather MIMXRT1011"
|
|
#define MICROPY_HW_MCU_NAME "IMXRT1011DAE5A"
|
|
|
|
#define MICROPY_HW_NEOPIXEL (&pin_GPIO_SD_05)
|
|
|
|
// If you change this, then make sure to update the linker scripts as well to
|
|
// make sure you don't overwrite code
|
|
#define CIRCUITPY_INTERNAL_NVM_SIZE 0
|
|
|
|
#define BOARD_FLASH_SIZE (8 * 1024 * 1024)
|
|
|
|
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO_10)
|
|
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO_09)
|
|
|
|
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO_AD_06)
|
|
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO_AD_04)
|
|
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO_AD_03)
|
|
|
|
#define DEFAULT_UART_BUS_RX (&pin_GPIO_AD_01)
|
|
#define DEFAULT_UART_BUS_TX (&pin_GPIO_AD_02)
|