摘要:
STM32的分区从0x2000 0000开始。静态区,堆,栈。所有的全局变量,包括静态变量之类的,全部存储在静态存储区。紧跟静态存储区之后的,是堆区(如没用到malloc,则没有该区),之后是栈区,栈在程序中存储局部变量先看启动文件startup_stm32f10x_md.s的定义:; Amount of memory (in bytes) allocated for Stack; Tailor this value to your application needs; Stack Configuration; Stack Size (in Bytes) ; Stack_Size ... 阅读全文