32 lines
994 B
C
32 lines
994 B
C
|
#define MICROPY_HW_BOARD_NAME "Feather MIMXRT1011"
|
||
|
#define MICROPY_HW_MCU_NAME "IMXRT1011DAE5A"
|
||
|
|
||
|
//TODO
|
||
|
//#define MICROPY_HW_LED_STATUS (&pin_PA27)
|
||
|
|
||
|
#define MICROPY_HW_NEOPIXEL (&pin_GPIO_SD_05)
|
||
|
|
||
|
// These are pins not to reset.
|
||
|
// QSPI Data pins
|
||
|
//#define MICROPY_PORT_A ( PORT_PA08 | PORT_PA09 | PORT_PA10 | PORT_PA11 )
|
||
|
// QSPI CS, and QSPI SCK
|
||
|
//#define MICROPY_PORT_B ( PORT_PB10 | PORT_PB11 | PORT_PB22 )
|
||
|
//#define MICROPY_PORT_C ( 0 )
|
||
|
//#define MICROPY_PORT_D ( 0 )
|
||
|
|
||
|
// 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)
|