平台:CC2530F256
软件:Z-Stack Lighting 1.0.2
我想在 SamplleLight的Zlight Router中加入串口,对工程做了以下修改
SamplleLight工程中在Options->C/C++ Compiler加入了以下预编译
HAL_UART=TRUE
SERIAL_APP_PORT=1
ZTOOL_P2
在Z-Stack Lighting 1.0.2\Components\hal\target\CC2530PMP4712 中加入了_hal_uart_dma.c串口DMA相关函数
编译出错: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 0xa1e 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:14e2-1eff"
什么意思啊?该怎么改啊
user1810729:
回复 VV:
ram开销过大!谢谢