AnsweredAssumed Answered

what's the initial stack address of stm32?

Question asked by name_is_honglingjin on Jul 8, 2016
Latest reply on Jul 8, 2016 by Clive One
Hi guys:
I've alredy checked the .map file.
I found the two
STACK   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 0x200ca70.Does 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)