Hello NXP support team,
I’m using a imxrt1050evb (rev.b) and a modified example code of led blinking “evkbimrt1050_iled_blinky” provided by MCUXpresso for this evaluation board.
I've modified example code as regards:
…
…
My purpose is to compile and store all fields of “data_container” in "Flash2" as by the instruction below:
__RODATA(Flash2) const container_t data_container = …
In debug mode I’ve checked the position in memory of “data_container” and its fields:
Can you provide me instructions (pragma or other) to solve this question? If possible, avoiding struct of predefined fixed length.
Thank you.
Hi @SelfMad_Man
I have been cheking on my side, but unfortunately, I do not know proper way to link your data type in Flash2. If you find, or already find a way please share it.
Maybe trying Linkerscripts could help. We have an example of how to use it in FlexSPI NOR polling demo on the SDK. Check for more info in the MCUXpresso IDE user guide.
Let me know if there is something I still could do to help.
Diego