有人遇到过编译受限的问题吗?

2019-03-23 20:18发布

在stvd 环境下,编译程序,选用芯片是stm8s207cb,flash为128k,目前的程序明显不超过128k,怎么出现这样的错误呢?是编译代码受限吗?请大家赐教   Compiling main.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -i.. -i"c:program filesstmicroelectronicsstm8_touchsensing_lib_v2.3.1librariesstm8s_stdperiph_driverinc" -i"c:program filesstmicroelectronicsst_toolsetstvdmsy" -i"C:Program FilesCOSMICCXSTM8_16KHstm8"  -clDebug -coDebug main.c
#error castm8 C:DOCUME~1SONYLOCALS~1Temps1gs.cx2:0 too much code (17440 bytes) for LIMITED version
main.c:
 The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -i.. -i"c:program filesstmicroelectronicsstm8_touchsensing_lib_v2.3.1librariesstm8s_stdperiph_driverinc" -i"c:program filesstmicroelectronicsst_toolsetstvdmsy" -i"C:Program FilesCOSMICCXSTM8_16KHstm8"  -clDebug -coDebug main.c" has failed, the returned value is: 1
exit code=1. gwcjqi_dr.elf - 2 error(s), 0 warning(s) 此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。