编译结果:
Building configuration: SensorTag – CC2541DK-Sensor-OAD-ImgBUpdating build tree…hal_oled.cLinkingError[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) in0x1a0a8 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 LinkerTotal number of errors: 1Total number of warnings: 0
Yan:
jianlong,
栈溢出。
你代码里面哪里用了大数组什么的,减一减。
jianlong yin:
回复 Yan:
Hi,Yan:
哪些数组没办法删减,这个错误只有在IMGA和IMAGB中出现,在总的中没有,不知道有什么办法可以解决.
Fred Wang:
xcl文件配置错了,找对应的配置给项目属性设置。
jianlong yin:
回复 Fred Wang:
Hi,Fred Wang
xcl就是用TI的,能说一下怎么改吗?
Fred Wang:
回复 jianlong yin:
这个也我没见过相关的文档,基本都是照着协议栈里的参考,自己根据参数慢慢配置,最好是不要随意修改,这个跟BIM也有关系,会影响Img的CRC效验。直接用别人配好的。