打印

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

[复制链接]
1454|1
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
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

粉丝