This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Z-Stack3.0的SampleTemperatureSensor.eww,为什么编译链接(link error)就出现下面错误?

Other Parts Discussed in Thread: CC2538, CC2652R, Z-STACK

没有改任何代码,只放开了几个宏:  

ZTOOL_P1
MT_TASK
MT_APP_FUNC
MT_SYS_FUNC
MT_ZDO_FUNC   这个几个原来是前面带了x的,改完后,宏定义如下:

BDB_REPORTING

SECURE=1
TC_LINKKEY_JOIN
NV_INIT
NV_RESTORE
ZTOOL_P1
MT_TASK
MT_APP_FUNC
MT_SYS_FUNC
MT_ZDO_FUNC
xMT_APP_CNF_FUNC
xLCD_SUPPORTED=DEBUG
MULTICAST_ENABLED=FALSE
ZCL_READ
ZCL_WRITE
ZCL_BASIC
ZCL_IDENTIFY
ZCL_TEMPERATURE_MEASUREMENT
ZCL_GROUPS

链接错误如下:

Error[e16]: Segment XDATA_I (size: 0x12f align: 0) is too long for segment definition. At least 0xfe 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:1ecf-1eff"

XDATA:1-325 XSTACK

XDATA:326-1eff XDATA_Z