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/CC2650: CCS/CC2650

Part Number: CC2650

Tool/software: Code Composer Studio

Hello,

I get errors like the attach log.

Could you give some comments to me?

Thanks

ChangKi

**** Build of configuration FlashROM for project simple_peripheral_cc2650lp_app ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O 
gmake[1]: Entering directory 'C:/ti/workspace/simple_peripheral_cc2650lp_app/FlashROM'
'Building file: C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650lp/simple_peripheral/ccs/config/app_ble.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_02_25_core/xs" --xdcpath="C:/ti/xdctools_3_32_02_25_core;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS/include\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/examples/simple_peripheral/cc26xx/app\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/icall/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/roles\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/dev_info\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/simple_profile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/profiles/simple_profile\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/heapmgr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/target\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/hal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/osal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/sdata\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/services/src/saddr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/components/icall/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_01_18/src/rom\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_20_01_08/products/cc26xxware_2_24_02_17393\" -g --c99 --gcc --define=BOARD_DISPLAY_EXCLUDE_LCD --define=BOARD_DISPLAY_EXCLUDE_UART --define=CC2650_LAUNCHXL --define=CC26XX --define=Display_DISABLE_ALL --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_ENTITIES=6 --define=ICALL_MAX_NUM_TASKS=3 --define=POWER_MEASURE --define=POWER_SAVING --define=USE_ICALL --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --diag_wrap=off --diag_suppress=48 --diag_warning=225 --display_error_number --gen_func_subsections=on " "C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650lp/simple_peripheral/ccs/config/app_ble.cfg"
TOOLS/subdir_rules.mk:12: recipe for target 'build-1641678497-inproc' failed
js: "C:/ti/xdctools_3_32_02_25_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'.  TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_32_02_25_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path 'C:/ti/xdctools_3_32_02_25_core;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06;C:/ti/ccsv7/ccs_base;C:\ti\xdctools_3_32_02_25_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.
gmake[1]: *** [build-1641678497-inproc] Error 1
gmake: *** [build-1641678497] Error 2
gmake[1]: Leaving directory 'C:/ti/workspace/simple_peripheral_cc2650lp_app/FlashROM'
TOOLS/subdir_rules.mk:9: recipe for target 'build-1641678497' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • In your build log, the --xdcpath option is missing the correct path to find the platform package. I'm not sure how that happened but please check the points below.

    I see that you are using TI-RTOS version 2.21.00.06, however the recommended version to use with BLE SDK 2.02.01.18 is  2.20.01.08. You can check if that version is installed/discovered by CCS by going to Window Preferences->Code Composer Studio->Products and see if that version is listed under "Installed products". If it is not listed, click on Rediscover, then select that version and click on Install.

    Once it is installed, go into Project Properties->Products tab and make sure TI-RTOS version 2.20.1.08 is enabled.


    Then rebuild the project.  That should resolve the build errors.

    For your reference, I am also attaching my build log for the same project.

    7532.build_log.txt

  • Hi AartiG,

    Thanks a lot for your answer.
    The issue was resolved with your suggestion.

    Thanks
    ChangKi