Tool/software:
Hello,
I am trying to allocate the stack memory for MSPM0L1306 Microcontroller by using the scatter file and start up code
below I am updating the modified code for scatter and start up, please check and let me know if any changes required.
Scatter file:
RW_IRAM2 0x20000000 0x00000D00 { ; RW data
.ANY (+RW +ZI)
.ANY (.ramfunc)
}
ARM_LIB_STACK 0x20000D00 0x300 ; Stack region growing down
{*(STACK) }
}
start up file:
tack_Size EQU 0x00000300
AREA STACK, NOINIT, READWRITE, ALIGN=3
Stack_Mem SPACE Stack_Size
__initial_sp
is the above implementation is proper?
because, the memory is locked in my micro-controller. After flashing
Thanks,
Govardhan Perla.