Error[e104]: Failed to fit all segments into specified ranges. Problem discovered in segment XDATA_N. Unable to place 2 block(s) (0xc02 byte(s) total) in 0x2bb byte(s) of memory. The problem occurred while processing the segment placement command “-P(XDATA)XDATA_N=_XDATA_START-_XDATA_END”, where at the moment of placement the available memory ranges were “XDATA:1c45-1eff”
官方默认配置,这样会出现上面的错误,配置如下图
自己调整以后的配置如下,编译成功