MIMXRT1064_EVK/evkmimxrt1064_flexspi_nor_config.h
MIMXRT1064_EVK/flash_config.c
MIMXRT1064_EVK/mpconfigboard.h
MIMXRT1064_EVK/mpconfigboard.mk
MIMXRT1064.ld
When I try and compile the port I run into the following errors:
Code: Select all
../../lib/nxp_driver/sdk/devices/MIMXRT1064/xip/fsl_flexspi_nor_boot.h:106:2: error: #error "Please define macro BOARD_FLASH_SIZE"
106 | #error "Please define macro BOARD_FLASH_SIZE"
| ^~~~~
../../lib/nxp_driver/sdk/devices/MIMXRT1064/xip/fsl_flexspi_nor_boot.c:45:3: error: 'FLASH_SIZE' undeclared here (not in a function); did you mean 'FLASH_BASE'?
45 | FLASH_SIZE, /* size */
| ^~~~~~~~~~
| FLASH_BASE
make: *** [../../py/mkrules.mk:63: build-MIMXRT1064_EVK/lib/nxp_driver/sdk/devices/MIMXRT1064/xip/fsl_flexspi_nor_boot.o] Error 1
BOARD_FLASH_SIZE is defined in mpconfigboard.h.
As a side note. The MIMXRT1060_EVK is building without error. I compared a log dump of the 2 builds and see no difference up to fsl_flexspi_nor_boot.c file.