mimxrt/Makefile: Rework board flash type handling.

Reworks handling and configuration of different board flash types in the
Makefile, linker scripts and board makefile fragments.
This commit is contained in:
Philipp Ebensberger
2022-06-22 21:26:54 +02:00
committed by Damien George
parent 84339aa8ec
commit bec0524dbf
17 changed files with 45 additions and 59 deletions

View File

@@ -3,7 +3,7 @@ MCU_VARIANT = MIMXRT1052DVL6B
MICROPY_FLOAT_IMPL = double
MICROPY_PY_MACHINE_SDCARD = 1
MICROPY_HW_FLASH_TYPE ?= qspi_nor
MICROPY_HW_FLASH_TYPE ?= qspi_nor_flash
MICROPY_HW_FLASH_SIZE ?= 0x800000 # 8MB
MICROPY_HW_SDRAM_AVAIL = 1