TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2530使用Z-Stack 3.0.1栈添加UART编译出错

使用Z-Stack 3.0.1栈,想开启UART功能,但是在编译标志中添加了

HAL_UART=TRUE
HAL_UART_ISR=1
HAL_UART_DMA=2

后,发现编译出错:

Error[e16]: Segment XDATA_Z (size: 0x1e07 align: 0) is too long for segment definition. At least 0x208 more bytes needed. The problem occurred while processing the segment placement command  "-Z(XDATA)XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END", where at the moment of placement the available memory ranges were "XDATA:301-1eff"    

同样的方式在 Z-Stack 2.5.1a上没出错

Viki Shi:

论坛有类似问题,解答请看这边: e2echina.ti.com/…/126163

yorkson sam:

回复 Viki Shi:

优化了程序空间后可以打开了

赞(0)
未经允许不得转载:TI中文支持网 » CC2530使用Z-Stack 3.0.1栈添加UART编译出错
分享到: 更多 (0)