IAR 8.3以后的版本编译TI BLE Stack会报类似如下的错误
- Error[e16]: Segment ISTACK (size: 0xc0 align: 0) is too long for segment definition. At least 0xe more bytes needed. The problem occurred while processing the segment
- placement command "-Z(IDATA)ISTACK+_IDATA_STACK_SIZE#08-_IDATA_END", where at the moment of placement the available memory ranges were "IDATA:4e-ff"
解决办法是:
找到
- C:\Texas Instruments\BLE-CC254x-1.4.0\Projects\ble\common\cc2540\ti_51ew_cc2540b.xcl
把里面的
- -Z(DATA)VREG+_NR_OF_VIRTUAL_REGISTERS=08-7F
这一句 改成
- -Z(DATA)VREG=08-7F