Question
what's the initial stack address of stm32?
Posted on July 08, 2016 at 09:44
Hi guys:
I've alredy checked the .map file. I found the twoSTACK 0x2000c170 Section 2304 startup_stm32f10x_cl.o(STACK)
__initial_sp 0x2000ca70 Data 0 startup_stm32f10x_cl.o(STACK)
And i have the questions below:
Is the range of stack address from 0x200ca70-0x200c170? and if the initial stack address if 0x200caDoes that mean every time we used one byte of stack,the sp will - 1?
and Does this also mean our total usage of SRAM is 0xca79 (51824/1024 ≈ 50K)