Error: Segment NEAR_CODE (size: 0xf11 align: 0x2)
CC2541添加了一些代码后,出现了下面的错误。
Error[e16]: Segment NEAR_CODE (size: 0xf11 align: 0x2) is too long for segment definition. At least 0xac5 more bytes needed. The problem occurred while
processing the segment placement command "-Z(CODE)BANK_RELAYS,RCODE,DIFUNCT,CODE_N,NEAR_CODE=_CODE_START-_CODE_END", where at the
moment of placement the available memory ranges were "CODE:2baa-2ff7"
Reserved ranges relevant to this placement:
CODE:0-85 INTVEC
CODE:86-14c CSTART
CODE:14d-14d DATA_ID
CODE:14e-66a XDATA_ID
CODE:66b-1ba6 BANK_RELAYS
CODE:1ba7-2ff7 RCODE
CODE:2ff8-2fff SLEEP_CODE
BIT:0-7 BREG
BIT:80-97 SFR_AN
BIT:a0-af SFR_AN
BIT:b8-c7 SFR_AN
BIT:d8-df SFR_AN
BIT:e8-ef SFR_AN
Error while running Linker
是要修改链接文件么?
您现在代码大约有多大?