Error[e16]: Segment XDATA_Z (size: 0x15eb align: 0) is too long for segment definition. At least 0xa96 more bytes needed. The problem occurred while processing
the segment placement command "-Z(XDATA)XDATA_N,XDATA_Z,XDATA_I=_XDATA_START-_XDATA_END", where at the moment of placement the available
memory ranges were "XDATA:f1ff-fd53"
1,在网上找过方法,按照这个改过也没有用
Error[e16]: Segment XDATA_Z (size: 0x1ea7 align: 0) is too long for segment definition. At least 0x2a7 more bytes
原因:在xcl文件里修改段大小,-D_IXDATA_END=0xFD53 // Revison D (this setting is safe for all revisions)还有可能是定义的大数组太多了,有时候某些函数中定义的数组有点大,在主函数中单独测试这个函数时不会报错