micropython/ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk
robert-hh 1074c784b0 mimxrt: Add support for Hyperflash chips.
Hyperflash is used by the MIMXRT1050_EVKB, MIMXRT1060_EVK and
MIMXRT1064_EVK boards.

This commit includes:
- add support for Hyperflash
- modify MIMXRT1060_EVK and MIMXRT1064_EVK to change from QSPI to
  hyperflash.
- minor incidental changes to other boards so they still build

Note: Erasing a sector on the hyperflash is slow. It takes about a second,
which seems too long, but matches the data sheet.
2021-07-31 16:25:40 +10:00

15 lines
249 B
Makefile

MCU_SERIES = MIMXRT1064
MCU_VARIANT = MIMXRT1064DVL6A
MICROPY_FLOAT_IMPL = double
SRC_C += \
hal/flexspi_hyper_flash.c \
JLINK_PATH ?= /media/RT1064-EVK/
CFLAGS += -DBOARD_FLASH_SIZE=0x400000
deploy: $(BUILD)/firmware.bin
cp $< $(JLINK_PATH)