I can't seem to convince the linker to use the section SRAM_LOWER. It overflows SRAM_UPPER without adding anything to the lower section.
Memory region Used Size Region Size %age Used
SRAM_UPPER: 262116 B 192 KB 133.32%
SRAM_LOWER: 0 GB 64 KB 0.00%
c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: rtcpu16 Foundation.axf section `.bss' will not fit in region `SRAM_UPPER'
FLEX_RAM: 0 GB 4 KB 0.00%
How do I utilize this memory?
Hi,
On the assumption that you are using MCUXpresso IDE, then please see chapter 14, "Memory Configuration and Linker Scripts", of the MCUXpresso IDE v10.1. User Guide for more details of how images are laid out in memory.
There are various ways of moving the heap, stack or global variables into the second RAM bank described in this chapter - the simplest of which is probably to use the "memory configuration" editor, as shown in section 14.8 and 14.9.
Regards,
Jing