大家好:
我采用TI官网提供的主从一体解决方案SimpleBLESwitch1.4.1,原工程中没有使用串口,在IAR设置HAL_UART=TRUE后,编译出现错误:
Error[e16]: Segment XDATA_I (size: 0x321 align: 0) is too long for segment definition. At least 0x120 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:1cff-1eff"
Reserved ranges relevant to this placement:
XDATA:1-280 XSTACK
XDATA:281-1eff XDATA_Z
BIT:0-7 BREG
BIT:80-97 SFR_AN
BIT:a0-af SFR_AN
BIT:b8-c7 SFR_AN
BIT:e8-ef SFR_AN
求解决方案。