summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriabdalkader <i.abdalkader@gmail.com>2023-02-28 22:14:31 +0100
committerDamien George <damien@micropython.org>2023-04-11 17:04:21 +1000
commit944b4c205896588bc8653e360d048da6c80fa7a5 (patch)
tree3c5230bd505945c28f3a20575cc4e8593a208eed
parented5e3598f16a24022e78755e1a86b2d6ed12e5ca (diff)
mimxrt/boards/MIMXRT1064_EVK: Fix board config to use internal flash.
This commit is necessary to make MicroPython work on this eval kit out of the box, as the eval kit ships with the HyperFlash physically disconnected from the bus (refer to the schematics or the user guide) and the QSPI connected instead, but the fuses/board/pins are configured to boot from internal flash (on FlexSPI2). Note that enabling the HyperFlash is not trivial, as it requires soldering and desoldering of many small footprint resistors and changing fuses.
-rw-r--r--ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk b/ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk
index 08696d72f..b0bd7ec6a 100644
--- a/ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk
+++ b/ports/mimxrt/boards/MIMXRT1064_EVK/mpconfigboard.mk
@@ -3,8 +3,8 @@ MCU_VARIANT = MIMXRT1064DVL6A
MICROPY_FLOAT_IMPL = double
MICROPY_PY_MACHINE_SDCARD = 1
-MICROPY_HW_FLASH_TYPE = qspi_hyper_flash
-MICROPY_HW_FLASH_SIZE = 0x4000000 # 64MB
+MICROPY_HW_FLASH_TYPE = internal
+MICROPY_HW_FLASH_SIZE = 0x400000 # 4MB
MICROPY_HW_SDRAM_AVAIL = 1
MICROPY_HW_SDRAM_SIZE = 0x2000000 # 32MB