We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello,
I am using a Silicon Labs EFM32 MCU and would like to place the stack at the front of RAM followed by the data sections.
How do I go about doing that?
The linker script looks like this:
; ************************************************************* ; *** Scatter-Loading Description File generated by uVision *** ; ************************************************************* LR_IROM1 0x00000800 0x0001F800 { ; load region size_region ER_IROM1 0x00000800 0x0001F800 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) } RW_IRAM1 0x20000000 0x00004000 { ; RW data .ANY (+RW +ZI) } }
It doesn't seem to mention anything about the stack or data sections.
thanks