编译错误,不知道怎么解决
编译结果:
Building configuration: SensorTag - CC2541DK-Sensor-OAD-ImgB
Updating build tree...
hal_oled.c
Linking
Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment BANKED_CODE. Unable to place 70 block(s) (0x1aed7 byte(s) total) in
0x1a0a8 byte(s) of memory. The problem occurred while processing the segment placement command
"-P(CODE)BANKED_CODE=_CODE_BEG-_CODE_END,_BANK1_BEG-_BANK1_END,_BANK2_BEG-_BANK2_END,_BANK3_BEG-_BANK3_END,_BANK4_BEG-_
BANK4_END", where at the moment of placement the available memory ranges were
"CODE:6edc-7fff,CODE:18000-1ffff,CODE:28000-2ffff,CODE:38000-3ffff,CODE:4a07c-4afff"
Error while running Linker
Total number of errors: 1
Total number of warnings: 0
jianlong,
栈溢出。
你代码里面哪里用了大数组什么的,减一减。
Hi,Yan:
哪些数组没办法删减,这个错误只有在IMGA和IMAGB中出现,在总的中没有,不知道有什么办法可以解决.
xcl文件配置错了,找对应的配置给项目属性设置。
Hi,Fred Wang
xcl就是用TI的,能说一下怎么改吗?
这个也我没见过相关的文档,基本都是照着协议栈里的参考,自己根据参数慢慢配置,最好是不要随意修改,这个跟BIM也有关系,会影响Img的CRC效验。直接用别人配好的。