有两年没有搞cc2541了,最近又有项目,但能找到最新的工具是9.10.1,但安装完后,编译1.4.0版本下之前的工程,出现空间不足问题:
Building configuration: KeyFobDemo – CC2541DK-mini Keyfob SlaveUpdating build tree…LinkingError[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition. At least 0xe more bytes needed. The problem occurred while processing thesegment placement command "-Z(IDATA)ISTACK+_IDATA_STACK_SIZE#08-_IDATA_END", where at the moment of placement the available memory rangeswere "IDATA:4e-ff" Reserved ranges relevant to this placement: IDATA:8-1f VREG IDATA:21-40 VREG IDATA:41-42 XSP IDATA:43-43 DATA_I IDATA:44-4b DATA_Z IDATA:4c-4d IDATA_Z IDATA:4e-ff ISTACK BIT:0-7 BREG BIT:80-97 SFR_AN BIT:a0-af SFR_AN BIT:b8-c7 SFR_ANError while running LinkerTotal number of errors: 1Total number of warnings: 0
由于很长时间没搞,有点晕头,望大神指点从哪方面去看
谢谢!
da qin zheng sheng:
把堆栈地址重新分配一下。
YiKai Chen:
建議你到 下載對應的IAR版本或是用最新的BLE Stack 1.4.2试试
Derek Wu:
回复 da qin zheng sheng:
谢谢你,以前也帮助过我!
具体看哪个文件,或者option里什么配置
多谢!
Derek Wu:
回复 YiKai Chen:
由于我之前在1.4.0上开发过,想直接用那个工程,谢谢
Alvin Chen:
回复 Derek Wu:
你可以试试那个www.iar.com/…/
我用这个新的没有问题