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/CC2650STK: Compilation Error

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

Tool/software: Code Composer Studio

Hii

I made a fresh project to run only UART but some compilaton error  are coming..


**** Build of configuration Debug for project Uart_sample ****

"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 3 all -O
 
'Building file: "../app_ble.cfg"'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_02_25_core/xs" --xdcpath="C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r debug -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS" "../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 ...
subdir_rules.mk:19: recipe for target 'build-1167396913-inproc' failed
js: "C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages/ti/mw/Config.xs", line 59: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.mw.display' along the path: 'C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/xdctools_3_32_02_25_core/packages;..;'. Ensure that the package path is set correctly.
gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
js: "C:/ti/xdctools_3_32_02_25_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-1167396913-inproc] Error 1
gmake: *** [build-1167396913] Error 2
subdir_rules.mk:16: recipe for target 'build-1167396913' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Problem Shown By :-

Description    Resource    Path    Location    Type
can't locate the package 'ti.mw.display' along the path: 'C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/
tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;
C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/xdctools_3_32_02_25_core/packages;..;'. Ensure that the package path is set correctly.    .xdchelp    
/Uart_sample    line 59    C/C++ Problem

How to add 'ti.mw.display' in my project ??Since my i am not using the display functions ,so why this error is coming ??

Best regards

Devendra

  • js: "C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages/ti/mw/Config.xs", line 59: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: can't locate the package 'ti.mw.display' along the path: 'C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc32xx_2_16_01_14/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/tidrivers_cc32xx_2_16_01_13/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/tirtos_cc32xx_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/xdctools_3_32_02_25_core/packages;..;'. Ensure that the package path is set correctly.
    gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
  • Devendra,

    It looks like your trying to compile to a CC32xx device, not a CC2650. Please make sure you are using the right TIRTOS

    If you are using BLE Stack v2.2.2 you need to be pointing to:
    C:\ti\tirtos_cc13xx_cc26xx_2_21_01_08

    This is most easily done by importing a project from the BLE Stack v2.2.2 and examining the various components to that project and what packages it's referencing.
  • Hii Evan Wakefield,

    Still the errors are present  :



    **** Build of configuration Debug for project Uart_sample ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 3 all -O

    'Building file: "../app_ble.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv7/ccs_base;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS" "../app_ble.cfg"
    subdir_rules.mk:19: recipe for target 'build-1167396913-inproc' failed
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: 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_00_06_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/ccsv7/ccs_base;C:\ti\xdctools_3_32_00_06_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-1167396913-inproc] Error 1
    gmake: *** [build-1167396913] Error 2
    subdir_rules.mk:16: recipe for target 'build-1167396913' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****

    Best regards

    Devendra

  • Hii Evan Wakefield,

    I reinstall tirtos_cc13xx_cc26xx_setupwin32_2_21_01_08. And used the correct version of xdc tools with respect to ti rtos but still the same error is coming.Can you check once again or there is any other dependencies so please let me know ,I will configure and install whatever it needs .

  • Davendra,

    Does simple_peripheral compile?

    Where did you get the uart_sample project?

  • Hii Evan Wakefield,

    yes simple_peripheral is compiled .

    uart_sample made by me to check the working method of UART.Using Uartecho sample code (C:\ti\tirtos_cc13xx_cc26xx_2_21_01_08\examples\TI\CC2650STK\uartecho).

    But now issue is different ,last one is resolved i think so but new errror is coming.



    **** Build of configuration Debug for project Uart_sample ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 3 all -O

    'Building file: "../ccfg.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="ccfg.d_raw" --cmd_file="configPkg/compiler.opt" "../ccfg.c"
    'Finished building: "../ccfg.c"'

    'Building file: "../uartecho.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="uartecho.d_raw" --cmd_file="configPkg/compiler.opt" "../uartecho.c"
    'Finished building: "../uartecho.c"'

    'Building file: "../CC2650STK.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="CC2650STK.d_raw" --cmd_file="configPkg/compiler.opt" "../CC2650STK.c"

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'CC2650STK.obj' failed
    "../CC2650STK.c", line 622: error #20: identifier "CC2650STK_WATCHDOGCOUNT" is undefined
    1 error detected in the compilation of "../CC2650STK.c".
    gmake: *** [CC2650STK.obj] Error 1
    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin/PINCC26XX.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/pin/PINCC26XX.d_raw" --obj_directory="drivers/pin" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin/PINCC26XX.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin/PINCC26XX.c"'

    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_calibrateRCOSC.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/power/PowerCC26XX_calibrateRCOSC.d_raw" --obj_directory="drivers/power" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_calibrateRCOSC.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_calibrateRCOSC.c"'

    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_tirtos.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/power/PowerCC26XX_tirtos.d_raw" --obj_directory="drivers/power" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_tirtos.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX_tirtos.c"'

    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/power/PowerCC26XX.d_raw" --obj_directory="drivers/power" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power/PowerCC26XX.c"'

    'Building file: "../uart_echo.cfg"'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/xdctools_3_32_00_06_core/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS" "../uart_echo.cfg"
    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm/PWMTimerCC26XX.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/pwm/PWMTimerCC26XX.d_raw" --obj_directory="drivers/pwm" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm/PWMTimerCC26XX.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm/PWMTimerCC26XX.c"'

    'Building file: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/uart/UARTCC26XX.c"'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7M3 --code_state=16 -me --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common/cc26xx/kernel/cc2640/config" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/rom" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/boards/CC2650STK" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/target" --include_path="C:/ti/simplelink/ble_sdk_2_02_02_25/src/common" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages" --include_path="C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS/include" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/cc26xxware_2_24_03_17272" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/extflash" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensors" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/mw/sensortag" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pin" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/power" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/pwm" --include_path="C:/ti/xdctools_3_32_00_06_core/packages" --advice:power="1,10" --define=Display_DISABLE_ALL --define=EXCLUDE_AUDIO --define=DEBUG --define=CC26XX -g --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="drivers/uart/UARTCC26XX.d_raw" --obj_directory="drivers/uart" --cmd_file="configPkg/compiler.opt" "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/uart/UARTCC26XX.c"
    'Finished building: "C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages/ti/drivers/uart/UARTCC26XX.c"'

    making package.mak (because of config.bld) ...
    configuring uart_echo.xem3 from package/cfg/uart_echo_pem3.cfg ...
    subdir_rules.mk:26: recipe for target 'build-1547664447-inproc' failed
    js: "C:/Users/devendra.pundir/workspace_ver7_a/Uart_sample/uart_echo.cfg", line 1: Error: Can't find import file: '../../../../../src/common/cc26xx/kernel/cc2640/config/cc2640.cfg' (not found along 'C:\Users\devendra.pundir\workspace_ver7_a\Uart_sample;.;C:/ti/ccsv7/ccs_base;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/tidrivers_cc13xx_cc26xx_2_21_01_01/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/bios_6_46_01_38/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_01_08/products/uia_2_01_00_01/packages;C:/ti/xdctools_3_32_00_06_core/packages;C:/ti/xdctools_3_32_00_06_core/packages;..;C:/ti/xdctools_3_32_00_06_core;C:/ti/xdctools_3_32_00_06_core/etc;C:\ti\xdctools_3_32_00_06_core/include;C:\ti\xdctools_3_32_00_06_core/packages')
    "./package/cfg/uart_echo_pem3.cfg", line 177
    gmake.exe: *** [package/cfg/uart_echo_pem3.xdl] Error 1
    js: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake[1]: *** [build-1547664447-inproc] Error 1
    gmake: *** [build-1547664447] Error 2
    subdir_rules.mk:23: recipe for target 'build-1547664447' failed
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****


    Thanks &
    regards
    Devendra
  • In your project settings, what variant is your project set to build to? It looks like you have a few missing files and defines. I suggest you work with the uart_echo example and build your code off of that project instead of creating your own project from scratch.
  • Hii Evan wakefield,

     

    In your project settings, what variant is your project set to build to?

    What does it mean ??Which variant you are asking ??

    I suggest you work with the uart_echo example and build your code off of that project instead of creating your own project from scratch.

    I tried to work UART_echo example but if  I am including SENSORTAG_APP project then it is not writing on the console at all.And if I am including UART_echo example as a project then import options throwing that it is not ccs project because ccs project files are not there .That why i create a new project .But since i missing some of the configuration i am unable to resolve it.

    Can i get some tutorials to how to create a new project for cc2650stk sensortag from scatch,then that is better for me.Then i get know where i am doing mistakes.Please let me know.

    Thanks &

    regards

    Devendra

  • Devendra,

    to the variant:
    Go to properties> General > Variant > confirm that you are using the right device (CC2650F128).

    What do you mean if you include the Sensortag app project? Are you trying to merge the two projects together?

    We do not recommend that you create a new sensortag project from scratch as there are too many interdependencys. We recommend you either start with sensortag or simple_peripheral or one of the other sample applications. In the docs/ folder of the ble sdk 2.2.2, you can reference the SWRU293_CC2640_BLE_Software Developers Guide for more information.
  • Hii Evan,

    Yes, I am using (CC2650F128).I checked.

    No, I am not including any another project in Sensortag App project. Actually, I am trying to use UART in SensorTag_App project but it Is not printing at all and its getting stuck the code.BLE stop advertising and device is in hanged state.So I removed it.

    Actually, I want to debug the SensorTag app project but the code is get stuck in exception Handler after the BIOS_Start.So thats why I want to use UART and print the value of rawdata in SensorOpt3001.c line no 166. But I am neither to do UART nor debug.
    { *rawData = (val << 8) | (val>>8 &0xFF) }

    Yes , I know there are to many interdependency.But Ti can provide some of the basic tutorial for this device so that he could learn to create new project from scratch.Thanks for your suggestion.

    Thanks &
    regards
    Devendra
  • Dev,

    Are you using the recommended compiler for BLE Stack 2.2.2? TI ARM Compiler 16.9.4.LTS is the recommended compiler, using other compilers can lead to unpredictable behavior.

    Also, we do not recommend making a project from scratch. We recommend people start with the example programs provided in the BLE Stack examples folder.

    I'm sorry that I have not been as active on supporting this thread. We are very loaded right now as a team and do not currently have the bandwidth to write explicit instructions that you are requesting, but we do have a number of other threads where this issue has been solved. I recommend referencing them, and asking more specific questions as you go along.

    e2e.ti.com/.../434542
    e2e.ti.com/.../429972
    e2e.ti.com/.../492351
    e2e.ti.com/.../589151
    processors.wiki.ti.com/.../CC2640_NPI_UART_ECHO_EXAMPLE