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.

CCS/LAUNCHXL-CC2640R2: CC2640 Build errors

Part Number: LAUNCHXL-CC2640R2

Tool/software: Code Composer Studio

Hi,

I'm new with the BLE stuff :-)
Trying to build the simple_periferal_cc2640rlp_app and get the following errors.

Any ideas?

Thanks,

Itay

**** Build of configuration FlashROM_StackLibrary for project simple_peripheral_cc2640r2lp_app ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 
gmake[1]: Entering directory 'D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/FlashROM_StackLibrary'
'Building file: ../TOOLS/app_ble.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_03_33_core/xs" --xdcpath="C:/ti/ccsv7/ccs_base;C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source;C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/kernel/tirtos/packages;C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/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_16.9.4.LTS" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app\" --include_path=\"D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/Application\" --include_path=\"D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/Startup\" --include_path=\"D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/PROFILES\" --include_path=\"D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/Include\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/examples/rtos/CC2640R2_LAUNCHXL/blestack/simple_peripheral/src/app\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/profiles/dev_info\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/profiles/simple_profile\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/devices/cc26x0r2\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include\" --define=DeviceFamily_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=ICALL_EVENTS --define=ICALL_JT --define=ICALL_LITE --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=ICALL_STACK0_ADDR --define=POWER_SAVING --define=RF_SINGLEMODE --define=STACK_LIBRARY --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"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ROM library makefile ... 
Starting build of library sources ...
Build of libraries failed.
TOOLS/subdir_rules.mk:12: recipe for target 'build-1287780815-inproc' failed
gmake: D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless: No such file or directory
gmake: *** No rule to make target `D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless'.  Stop.
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:

js: "C:/ti/xdctools_3_50_03_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/app_ble_pem3.xdl'
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.h'
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.c'
js: "C:/ti/xdctools_3_50_03_33_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-1287780815-inproc] Error 1
gmake: *** [build-1287780815] Error 2
gmake[1]: Leaving directory 'D:/Users/Itay-Home/Documents/Family/Itay/Work/Wireless Medical/workspace_v7_GlucoMe_BLE/simple_peripheral_cc2640r2lp_app/FlashROM_StackLibrary'
TOOLS/subdir_rules.mk:9: recipe for target 'build-1287780815' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****