2020-04-14 15:08:59 -04:00
|
|
|
#define MICROPY_HW_BOARD_NAME "i.MX RT1020 EVK"
|
|
|
|
#define MICROPY_HW_MCU_NAME "MIMXRT1021DAG5A"
|
|
|
|
|
|
|
|
#define BOARD_FLASH_SIZE (8 * 1024 * 1024)
|
|
|
|
|
|
|
|
// i.MX RT1020 EVK has 1 board LED
|
2020-08-21 10:03:21 -04:00
|
|
|
// Todo: think about replacing the define with searching in the generated pins?
|
|
|
|
#define MICROPY_HW_LED1_PIN (pin_GPIO_AD_B0_05)
|
2020-04-14 15:08:59 -04:00
|
|
|
#define MICROPY_HW_LED_ON(pin) (mp_hal_pin_low(pin))
|
|
|
|
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_high(pin))
|
2021-05-07 09:21:09 -04:00
|
|
|
#define BOARD_FLASH_CONFIG_HEADER_H "evkmimxrt1020_flexspi_nor_config.h"
|