|
用的是CD-EWSTM8-1301
选择的芯片的128KB的STM8S207CB,代码超过32K时就出错,提示:
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum size
of 0x7f84 bytes in <[0x008000-0x00ffff]> (total uncommitted space 0x7f80).
不知道是什么原因?
测试代码:
#include <iostm8s207cb.h>
__root const char aaaa[31*1024]="";
__root const char ssss[833]="";
void main()
{
PD_DDR=1;
while (1)
{
}
}
下面是测试的工程:
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
阿莫论坛20周年了!感谢大家的支持与爱护!!
一只鸟敢站在脆弱的枝条上歇脚,它依仗的不是枝条不会断,而是自己有翅膀,会飞。
|