我的CC2530项目,用到UCOS 操作系统,设置 STACK SIZES, idata 设置成 0x80 , 系统提示不够用,程序跑飞, 设置成0XC0 ,系统有编译不过去,提示错误为
Error[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition. At least 0x3b more bytes needed. The problem occurred while processing the segment placement command。 IAR 的版本已经足够新,为9.30, 修改了
Project -> Option -> General Option -> Target Tab
Modify : Number of virtual registers, from 16 --> 8.
也不能解决问题,
修改配置文件中的 ;
-Z(DATA)VREG+_NR_OF_VIRTUAL_REGISTERS=08-7F
改成
-Z(DATA)VREG=08-7F
仍然报相同的错误!
请TI遇到此类问题的老师给以指点!谢谢