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.

cc254x 编译报错 Range error

Other Parts Discussed in Thread: CC2541

Building configuration: SimpleBLEPeripheral - CC2541
Linking
Error[e18]: Range error,
Number out of range
File: C:\Texas Instruments\BLE-CC254x-1.4.1\Projects\ble\New BLE_Bridge\Source\BLE_Bridge.c, Line: 694
Source: LJMP ??simpleProfileChangeCB_3
Where $ = simpleProfileChangeCB + 0x2C63C [0x2C63C]
in module "BLE_Bridge" (C:\Texas Instruments\BLE-CC254x-1.4.1\Projects\ble\New BLE_Bridge\CC2541DB\CC2541\Obj\BLE_Bridge.r51),
offset 0x61 in segment part 42, segment BANKED_CODE
What: (simpleProfileChangeCB + 0x114) [0x2C6EF]
Allowed range: 0xFFFF8000 - 0xFFFF
Operand: simpleProfileChangeCB [0x2c6ef]
in module BLE_Bridge (C:\Texas Instruments\BLE-CC254x-1.4.1\Projects\ble\New BLE_Bridge\CC2541DB\CC2541\Obj\BLE_Bridge.r51),
Offset 0x114 in segment part 42, segment BANKED_CODE
Error while running Linker

Total number of errors: 1
Total number of warnings: 0

看起来是空间不够,如果把simpleProfileChangeCB中的GAP_SetParamValue和osal_snv_write函数注释了就编译通过???在option-general options-target中更改后同样报错,请高手指导,谢谢!!