Skip to content


Zigbee协议栈狂吃RAM

前两天比较郁闷,写程序一直没注意内存,程序跑飞了都不知道怎么回事……
不过后来还是发现了,没想到总共8K的内存,协议栈占掉了6-7K,我自己能用的就比较少了,我还傻了吧唧的狂用内存……

一个命令
avr-size -d file.elf
可以查看内存占用情况
data为有初值的,bss为没有初值的

相关文章

  • 暂无相关日志

Posted in ZigBee.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.