I'm currently working with the MIMXRT1064-EVK, that has 4Mb of internal flash.
I'd like to place some code, like the images, in the external flash by the Flexspi because this internal flash is not enough for me.
How could I achieve this? I'm trying to place it by setting the__attribute__((section(".rodata.$Flash2"))) to the variables but is not working.
find atteched my memory repartition.
Any help is wellcome, best regards,
Please refer to Erich's @ErichStyger article:
Defining Variables at Absolute address with gcc
I hope it helps