矮马,PSoC Creator 3.0为啥放个空的空的工程都占31.7%RAM 空间

[复制链接]
 楼主| ni_labview 发表于 2014-2-6 14:07 | 显示全部楼层 |阅读模式
过年没事玩玩这新的PSOC5LP,编译了空的工程居然都占了31.7% 的RAM空间,这对仅有64K空间的5868来说太狠了些,有啥办法压缩一下减少初始RAM占用吗?
jxin 发表于 2014-2-7 17:08 | 显示全部楼层
因为默认情况下,heap 和stack 占用了16k + 4k 空间。
http://www.cypress.com/?docID=46925

New RAM Usage Calculation
Prior to the 3.0 release, the reporting of SRAM usage at the end of a build with the GNU Compiler
Toolchain did not correctly report the stack and heap settings in the System DWR file. This has been
corrected and PSoC Creator is now properly reporting the RAM usage (note that the actual RAM usage
has not changed, just the reporting in the Output Window). You can modify the Stack and Heap Size
values in the System DWR.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:我ni_labview,已婚,无存款,无高学位职称,更无大的学识,属典型三无产品,非诚勿扰。 http://blog.**/ni_labview/

178

主题

624

帖子

2

粉丝
快速回复 在线客服 返回列表 返回顶部