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.

Compiler/CC2640R2F: XDC runtime error: can't find the library 'lib/boot.aem3'

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC2650, CC2640

Tool/software: TI C/C++ Compiler

Hi there,

i'm trying to port a project from the CC2650 to the CC2640R2f ( the new launchpads just arrived ). I changed everything and got the stack up and running but the app won't compile due to this error:

**** Build of configuration FlashROM for project Power_Node_Beacon_cc2640r2lp_app ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 1 all -O 
gmake[1]: Entering directory 'C:/workspace/Power_Node_Beacon_cc2640r2lp_app/FlashROM'
'Building file: ../TOOLS/app_ble.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_01_12_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source;C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_5.2.9" --compileOptions "-mv7M3 --code_state=16 -me -Ooff --opt_for_speed=0 --include_path=\"C:\workspace/Power_Node_Beacon_cc2640r2lp_app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/host\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/components/flash\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/components/uart_debug\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/components/sensors\" --include_path=\"C:\workspace/Power_Node_Beacon_cc2640r2lp_app/Application\" --include_path=\"C:\workspace/Power_Node_Beacon_cc2640r2lp_app/Startup\" --include_path=\"C:\workspace/Power_Node_Beacon_cc2640r2lp_app/PROFILES\" --include_path=\"C:\workspace/Power_Node_Beacon_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/App/Power_Node_Beacon/src/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/profiles/beacon_profile/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/profiles/beacon_profile\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.1.LTS/include\" --define=DEVICE_FAMILY=cc26x0r2 --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=1 --define=BOARD_DISPLAY_USE_UART_ANSI=1 --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=HEAPMGR_SIZE=0 --define=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_SAVING --define=USE_CORE_SDK --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL -g --c99 --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi " "../TOOLS/app_ble.cfg"
configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ROM library makefile ... 
TOOLS/subdir_rules.mk:12: recipe for target 'build-1253442735-inproc' failed
js: "C:/ti/xdctools_3_50_01_12_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find the library 'lib/boot.aem3' specified by package ti.targets.arm.rtsarm.  It wasn't found along the path 'C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source;C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;C:/ti/simplelink_cc2640r2_sdk_1_30_00_25/source/ti/blestack;C:/ti/xdctools_3_50_01_12_core/packages;..;'.
xdctools_3_50_01_12_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
xdctools_3_50_01_12_core\gmake.exe: *** Deleting file `package/cfg/app_ble_pem3.xdl'
xdctools_3_50_01_12_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.h'
xdctools_3_50_01_12_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.c'
js: "C:/ti/xdctools_3_50_01_12_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1253442735-inproc] Error 1
gmake[1]: Leaving directory 'C:/workspace/Power_Node_Beacon_cc2640r2lp_app/FlashROM'
TOOLS/subdir_rules.mk:9: recipe for target 'build-1253442735' failed
gmake: *** [build-1253442735] Error 2
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I'm not sure what am I missing here? Do you have any suggestions?