|
sram size is 4096 bytes (4KB)
sram used for
- variables = 2504 (0x9C8) bytes from 0x0100 to 0x0AC7
- heap, s/w stack = 1562 (0x61A) bytes from 0x0AC8 to 0x10E1
- h/w stack = 30 (0x1E) bytes from 0x10E2 to 0x10FF
eeprom size is 4096 bytes (4KB)
no eeprom area found
变量用了2504
堆栈1562
堆栈 30
这样的情况下,程序会莫名其妙的不正常。
sram size is 4096 bytes (4KB)
sram used for
- variables = 2104 (0x838) bytes from 0x0100 to 0x0937
- heap, s/w stack = 1962 (0x7AA) bytes from 0x0938 to 0x10E1
- h/w stack = 30 (0x1E) bytes from 0x10E2 to 0x10FF
这样的话就可以了。variables和heap, s/w stack的比例是多少,和什么有关系?一般怎么处理他们的关系? |
阿莫论坛20周年了!感谢大家的支持与爱护!!
知道什么是神吗?其实神本来也是人,只不过神做了人做不到的事情 所以才成了神。 (头文字D, 杜汶泽)
|