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-CC1352R1: Compilation error when adding profile to BLE Project_Zero

Part Number: LAUNCHXL-CC1352R1
Other Parts Discussed in Thread: CC2650, SYSCONFIG

Tool/software: Code Composer Studio

I am trying to modify the BLE Project_Zero project for the LAUNCHXL-CC1352R1 board by adding some new BLE services. I am part way through the project and then I get this error. I have commented out all my code and the error remains. I have also reimported the BLE Project_Zero and started my procedure again, and I once again get this error. I have also rebooted. And I have imported the project into a new workspace folder. Nothing helps. I am attaching a zip of my project. What is causing this error?

**** Clean-only build of configuration Debug for project project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs ****

/Applications/ti/ccs1000/ccs/utils/bin/gmake -k -j 3 clean -O 

 

rm -rf  "syscfg/ti_ble_config.h" "syscfg/ti_radio_config.h" "syscfg/ti_drivers_config.h" "syscfg/ti_utils_build_linker.cmd.exp" "syscfg/syscfg_c.rov.xs"  "../src/makefile.libs" "project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs.hex"  "syscfg/ti_ble_config.c" "syscfg/ti_build_config.opt" "syscfg/ti_ble_app_config.opt" "syscfg/ti_radio_config.c" "syscfg/ti_drivers_config.c" "configPkg/linker.cmd" "configPkg/compiler.opt"  "project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs.out" 

rm -rf "syscfg/ti_ble_config.obj" "syscfg/ti_radio_config.obj" "syscfg/ti_drivers_config.obj" "Application/project_zero 3.obj" "Application/project_zero.obj" "Application/util.obj" "Drivers/NV/crc.obj" "Drivers/NV/nvocmp.obj" "OAD/crc32.obj" "OAD/flash_interface_ext_rtos_NVS.obj" "OAD/oad.obj" "OAD/oad_image_header_app.obj" "Profiles/RaceControlService.obj" "Profiles/RaceResultsService.obj" "Profiles/button_service.obj" "Profiles/data_service.obj" "Profiles/devinfoservice.obj" "Profiles/gatt_uuid.obj" "Profiles/gattservapp_util.obj" "Profiles/led_service.obj" "Startup/CC1352R1_LAUNCHXL_fxns 3.obj" "Startup/CC1352R1_LAUNCHXL_fxns.obj" "Startup/UartLog.obj" "Startup/ble_user_config_stack 3.obj" "Startup/ble_user_config_stack.obj" "Startup/main 3.obj" "Startup/main.obj" "Startup/osal_icall_ble 3.obj" "Startup/osal_icall_ble.obj" "Startup/rom_init.obj" "iCall/icall.obj" "iCall/icall_cc2650.obj" "iCall/icall_user_config.obj" "iCallBLE/ble_user_config.obj" "iCallBLE/icall_api_lite.obj" 

rm -rf "syscfg/ti_ble_config.d" "syscfg/ti_radio_config.d" "syscfg/ti_drivers_config.d" "Application/project_zero 3.d" "Application/project_zero.d" "Application/util.d" "Drivers/NV/crc.d" "Drivers/NV/nvocmp.d" "OAD/crc32.d" "OAD/flash_interface_ext_rtos_NVS.d" "OAD/oad.d" "OAD/oad_image_header_app.d" "Profiles/RaceControlService.d" "Profiles/RaceResultsService.d" "Profiles/button_service.d" "Profiles/data_service.d" "Profiles/devinfoservice.d" "Profiles/gatt_uuid.d" "Profiles/gattservapp_util.d" "Profiles/led_service.d" "Startup/CC1352R1_LAUNCHXL_fxns 3.d" "Startup/CC1352R1_LAUNCHXL_fxns.d" "Startup/UartLog.d" "Startup/ble_user_config_stack 3.d" "Startup/ble_user_config_stack.d" "Startup/main 3.d" "Startup/main.d" "Startup/osal_icall_ble 3.d" "Startup/osal_icall_ble.d" "Startup/rom_init.d" "iCall/icall.d" "iCall/icall_cc2650.d" "iCall/icall_user_config.d" "iCallBLE/ble_user_config.d" "iCallBLE/icall_api_lite.d" 

rm -rf  "syscfg/" "configPkg/" 

Finished clean

 

**** Build Finished ****

**** Build of configuration Debug for project project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs ****

/Applications/ti/ccs1000/ccs/utils/bin/gmake -k -j 3 all -O 

 

Building file: "../project_zero_app 3.cfg"

Invoking: XDCtools

"/Applications/ti/ccs1000/xdctools_3_61_00_16_core/xs" --xdcpath="/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source;/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC1352R1F3 -r release -c "/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS" --compileOptions "-mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O4 --opt_for_speed=0 --include_path=\"/Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs\" --include_path=\"/Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/examples/rtos/CC1352R1_LAUNCHXL/ble5stack/project_zero/Application\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/common/cc26xx/\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/boards/CC1352R1_LAUNCHXL/\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/drivers/nvs/\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/common/cc26xx/oad/\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/profiles/oad/cc26xx\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/controller/cc26xx/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/rom\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/common/cc26xx\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/icall/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/hal/src/target/_common\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/hal/src/target/_common/cc26xx\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/hal/src/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/heapmgr\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/profiles/dev_info\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/profiles/simple_profile\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/icall/src/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/osal/src/inc\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/services/src/saddr\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/ble5stack/services/src/sdata\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/common/nv\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/common/cc26xx\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/devices/cc13x2_cc26x2\" --include_path=\"/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/source/ti/posix/ccs\" --include_path=\"/Applications/ti/ccs1000/ccs/tools/compiler/ti-cgt-arm_20.2.1.LTS/include\" --define=uartlog_FILE=\"\"\"\" --define=SECURITY --define=DeviceFamily_CC13X2 --define=FLASH_ROM_BUILD --define=NVOCMP_NWSAMEITEM=1 -g --c99 --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../project_zero_app 3.cfg"

making package.mak (because of package.bld) ...

subdir_rules.mk:50: recipe for target 'build-543591327-inproc' failed

package.mak:165: warning: overriding recipe for target 'project_zero_app'

package.mak:139: warning: ignoring old recipe for target 'project_zero_app'

package.mak:175: *** target file 'project_zero_app' has both : and :: entries.  Stop.

js: "/Applications/ti/ccs1000/xdctools_3_61_00_16_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-543591327-inproc] Error 1

Building file: "../project_zero 3.syscfg"

Invoking: SysConfig

"/Applications/ti/ccs1000/ccs/utils/sysconfig_1.4.0/sysconfig_cli.sh" -s "/Users/clark/ti/simplelink_cc13x2_26x2_sdk_4_10_00_78/.metadata/product.json" -o "syscfg" "../project_zero 3.syscfg"

Running script...

Validating...

warning: /ti/ble5stack/ble numOfAdvSets: The example app code handles 2 advertisement sets. Please make sure to update the example app code according to the configured number of sets.

Generating Code...

    '/ti/drivers' -> '/ti/devices/driverlib'

    '/ti/display' -> '/ti/drivers'

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_ble_config.h...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_ble_config.c...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_build_config.opt...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_ble_app_config.opt...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_radio_config.c...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_radio_config.h...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_drivers_config.c...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_drivers_config.h...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/ti_utils_build_linker.cmd.exp...

Writing /Users/clark/Documents/CCS_BLE2/project_zero_CC13X2R1_LAUNCHXL_tirtos_ccs/Debug/syscfg/syscfg_c.rov.xs...

0 error(s), 1 warning(s)

Finished building: "../project_zero 3.syscfg"

 

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/linker.cmd'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

gmake: *** No rule to make target 'build-543591327', needed by 'configPkg/compiler.opt'.

 

gmake: Target 'all' not remade because of errors.

**** Build Finished ****

CCS_BLE2.zip

  • Hi Clark,

    Which version of CCS and the SDK are you using?

    Thanks, 
    Elin

  • Elin

    Here is what I'm using:

    Code Composer Studio Version: 10.0.0.00010

    simplelink_cc13x2_26x2_sdk_4_10_00_78

    Yesterday I started again. I imported BLE Project Zero and began adding my profiles. I am nearly done and have not had the problem show up again.

    Maybe we should show this as resolved? But I am concerned that there may be a subtle bug in CCS or in the SDK or something.

    Did you see I included my project with my original posting?

    Thank you for your help!

    Clark

     

  • Hi Clark, 

    I'm glad this seems to work for you now. 

    There are usually no errors in the project or the SLA when an error like this occurs when following an SLA with the default project. So it's recommended to start from scratch and follow the guidelines again which usually solves the problem. 

    Thanks,
    Elin