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/CC2640R2F: Project does not build Properly | Coming Build Error like "[build-1140347135] Error 2 " coming in Micro BLE project

Part Number: CC2640R2F

Tool/software: Code Composer Studio

Hi , 

I m working micro BLE project in CC2640R2 family. In Previous version (i.e., CCS 9.3 ) it was working fine. I thought to upgrade to CCS 10.0 and I did that. Now the project did not build as expected. 

About the System, Windows 10 64 Bit

About the Software, CCS 10.0 latest 

SDK Used: SDK 3.40.00.10 And Examples from uble examples sdk 2.20

xdc tools using now, 3.61.00 

Sus/BIOS: 6.53

Can Anyone explain how to resolve this? And what is the correct procedure to update the CCS IDE ? Is there necessary to reinstall all SDK , xdc tools wwhen update the CCS ( But its sounds bad)? 

here the project build Logs:


**** Build of configuration MultiMode_FlashOnly for project uble_bcast_scan_cc2640r2lp_app ****

"C:\\ti\\ccs1000\\ccs\\utils\\bin\\gmake" -k -j 4 all -O

Building file: "../TOOLS/app_ble.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1000/ccs/tools/compiler" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app/Application\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app/Drivers\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app/Middleware\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app/Startup\" --include_path=\"E:/CCS_Projects/V4_Porting/V4_P_T1/uble_bcast_scan_cc2640r2lp_app/Sensor_Controller\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/controller/cc26xx_r2/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/rom\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/boards\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/icall/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/profiles/roles\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/target\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/target/_common\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/hal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/heapmgr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/icall/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/osal/src/inc\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/services/src/saddr\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack/services/src/sdata\" --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/devices/cc26x0r2\" --define=ZAN_CONFIG_SLEEP_in_min=30 --define=CAPACITIVE_RETRY_TIME_SEC=120 --define=DELAY_BW_SAMPLES_MS=500 --define=BLE_BOARD=BLE_V4 --define=Display_DISABLE_ALL --define=APPTYPE=DOOR_SENSOR --define=SIX_MIN_LOGIC=0 --define=ZAN_CONSOLE=1 --define=TIME_SERVER=0 --define=DeviceFamily_CC26X0R2 --define=BOARD_DISPLAY_USE_LCD=0 --define=BOARD_DISPLAY_USE_UART=1 --define=xBOARD_DISPLAY_USE_UART_ANSI=0 --define=CC2640R2_LAUNCHXL --define=CC26XX --define=CC26XX_R2 --define=FEATURE_ADVERTISER --define=FEATURE_BROADCASTER --define=FEATURE_STATIC_ADDR --define=FEATURE_SCANNER --define=FEATURE_OBSERVER --define=HEAPMGR_SIZE=0 --define=ICALL_EVENTS --define=POWER_SAVING --define=RF_MULTIMODE --define=TBM_ACTIVE_ITEMS_ONLY --define=xUSE_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"
TOOLS/subdir_rules.mk:12: recipe for target 'build-1140347135-inproc' failed
js: "C:/ti/xdctools_3_51_03_28_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_51_03_28_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/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack;C:\ti\xdctools_3_51_03_28_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-1140347135-inproc] Error 1
gmake: *** [build-1140347135] Error 2
TOOLS/subdir_rules.mk:9: recipe for target 'build-1140347135' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

  • Hello,

    Rahman Adam said:
    xdc tools using now, 3.61.00 

    Rahman Adam said:
    Building file: "../TOOLS/app_ble.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_51_03_28_core/xs" --xdcpath="C:/ti/simplelink_cc2640r2_sdk_3_40_00_10/source/ti/blestack;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2640R2F -r release -c "C:/ti/ccs1000/ccs/tools/compiler" --compileOptions "-mv7M3 --code_state=16 -me -O4 --opt_for_speed=0 --include_path=\"C:/ti/simplelink_cc2640r2_sdk_3_40_00_10\" --

    The project is using XDCtools 3.51.Try changing the xdctools version being used in the project properties.

    Thanks

    ki

  • Hello, 

    Thanks for the reply..

    Yes. I have tried with changing the xdc tools what in the project properties. Build error logs did not changed . same as previous.

    Thanks

    Rahman

  • Please provide the build output with the updated XDCtools version.

    Thanks

    ki