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.

BLE Stack v2.2 CCS error

Other Parts Discussed in Thread: CC2650STK, BLE-STACK

I reinstall CCS, and app with app center, but when i build a sensortag_cc2650stk_app, i have 27 error and i don't kown why.

Consol :

**** Build of configuration FlashOnly_OAD for project sensortag_cc2650stk_app ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k -j 4 all -O 
'Building file: C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/app_ble.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/tidrivers_cc13xx_cc26xx_2_20_00_08/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages;C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/uia_2_00_06_52/packages;C:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS" --cfgArgs "NO_ROM=1,OAD_IMG_E=1" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O3 --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/examples/sensortag/cc26xx/app\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/controller/cc26xx/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/icall/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/batt/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/dev_info\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/hid_dev/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/keys\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/oad/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/roles/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/profiles/sensor_profile/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/heapmgr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common/cc26xx\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/hal/src/target/_common\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/target\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/icall/src\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/icall/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/osal/src/inc\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/saddr\" --include_path=\"C:/ti/simplelink/ble_sdk_2_02_00_31/src/components/services/src/sdata\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/cc26xxware_2_23_03_17162\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/extflash\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensortag\" --c99 --define=POWER_SAVING --define=EXCLUDE_AUDIO --define=GATT_TI_UUID_128_BIT --define=FEATURE_OAD --define=USE_ICALL --define=GAPROLE_TASK_STACK_SIZE=640 --define=HEAPMGR_SIZE=0 --define=ICALL_MAX_NUM_TASKS=8 --define=ICALL_MAX_NUM_ENTITIES=11 --define=xdc_runtime_Assert_DISABLE_ALL --define=xdc_runtime_Log_DISABLE_ALL --define=CC2650STK --define=CC26XX --define=Display_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_00_31/examples/cc2650stk/sensortag/ccs/config/app_ble.cfg"
configuring app_ble.xem3 from package/cfg/app_ble_pem3.cfg ...
generating custom ti.sysbios library makefile ... 
Starting build of library sources ...
making C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/src/sysbios/sysbios.aem3 ...
gmake[1]: Entering directory `C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/src/sysbios'
clem3 C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/BIOS.c ...

>> Compilation failure
gmake[1]: Leaving directory `C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/src/sysbios'
Build of libraries failed.
TOOLS/subdir_rules.mk:7: recipe for target 'configPkg/linker.cmd' failed
gmake: *** No rule to make target 'C:/src/examples/sensortag/cc26xx/app/sensortag_oad.c', needed by 'Application/sensortag_oad.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/I2C.c', needed by 'Drivers/I2C/I2C.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/i2c/I2CCC26XX.c', needed by 'Drivers/I2C/I2CCC26XX.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/pin/PINCC26XX.c', needed by 'Drivers/PIN/PINCC26XX.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/rf/RF.c', needed by 'Drivers/RF/RF.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/SPI.c', needed by 'Drivers/SPI/SPI.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/spi/SPICC26XXDMA.c', needed by 'Drivers/SPI/SPICC26XXDMA.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/dma/UDMACC26XX.c', needed by 'Drivers/UDMA/UDMACC26XX.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/extflash/ExtFlash.c', needed by 'Middleware/extflash/ExtFlash.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorBmp280.c', needed by 'Middleware/sensors/SensorBmp280.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorHdc1000.c', needed by 'Middleware/sensors/SensorHdc1000.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorI2C.c', needed by 'Middleware/sensors/SensorI2C.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorMpu9250.c', needed by 'Middleware/sensors/SensorMpu9250.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorOpt3001.c', needed by 'Middleware/sensors/SensorOpt3001.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorTmp007.c', needed by 'Middleware/sensors/SensorTmp007.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorUtil.c', needed by 'Middleware/sensors/SensorUtil.obj'.
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensortag/SensorTagTest.c', needed by 'Middleware/sensortag/SensorTagTest.obj'.
"C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: fatal error: cannot open source file "driverlib/sys_ctrl.h"
1 catastrophic error detected in the compilation of "C:/ti/tirtos_cc13xx_cc26xx_2_20_00_06/products/bios_6_46_00_23/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
Compilation terminated.
gmake[1]: *** [BIOS.obj] Error 1
gmake: *** [C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/src/sysbios/sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_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_32_00_06_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/app_ble_pem3.xdl'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.h'
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.c'
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: *** [configPkg/linker.cmd] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Errors : 

Description	Resource	Path	Location	Type
cannot open source file "driverlib/sys_ctrl.h"	.ccsproject	/sensortag_cc2650stk_app	line 36, external location: C:\ti\tirtos_cc13xx_cc26xx_2_20_00_06\products\bios_6_46_00_23\packages\ti\sysbios\family\arm\cc26xx\Boot.c	C/C++ Problem
gmake: *** [C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/config/src/sysbios/sysbios.aem3] Error 2	sensortag_cc2650stk_app		 	C/C++ Problem
gmake: *** [configPkg/linker.cmd] Error 1	sensortag_cc2650stk_app		 	C/C++ Problem
gmake: *** No rule to make target 'C:/src/examples/sensortag/cc26xx/app/sensortag_oad.c', needed by 'Application/sensortag_oad.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/dma/UDMACC26XX.c', needed by 'Drivers/UDMA/UDMACC26XX.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/I2C.c', needed by 'Drivers/I2C/I2C.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/i2c/I2CCC26XX.c', needed by 'Drivers/I2C/I2CCC26XX.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/pin/PINCC26XX.c', needed by 'Drivers/PIN/PINCC26XX.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/rf/RF.c', needed by 'Drivers/RF/RF.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/SPI.c', needed by 'Drivers/SPI/SPI.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/drivers/spi/SPICC26XXDMA.c', needed by 'Drivers/SPI/SPICC26XXDMA.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/extflash/ExtFlash.c', needed by 'Middleware/extflash/ExtFlash.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorBmp280.c', needed by 'Middleware/sensors/SensorBmp280.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorHdc1000.c', needed by 'Middleware/sensors/SensorHdc1000.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorI2C.c', needed by 'Middleware/sensors/SensorI2C.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorMpu9250.c', needed by 'Middleware/sensors/SensorMpu9250.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorOpt3001.c', needed by 'Middleware/sensors/SensorOpt3001.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorTmp007.c', needed by 'Middleware/sensors/SensorTmp007.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensors/SensorUtil.c', needed by 'Middleware/sensors/SensorUtil.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: *** No rule to make target 'C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/products/tidrivers_cc13xx_cc26xx_2_16_01_13/packages/ti/mw/sensortag/SensorTagTest.c', needed by 'Middleware/sensortag/SensorTagTest.obj'.	sensortag_cc2650stk_app		Unknown	C/C++ Problem
gmake: Target 'all' not remade because of errors.	sensortag_cc2650stk_app		 	C/C++ Problem
gmake[1]: *** [BIOS.obj] Error 1	sensortag_cc2650stk_app		 	C/C++ Problem
xdc.cfg.SourceDir: "C:/ti/xdctools_3_32_00_06_core/packages/xdc/cfg/SourceDir.xs", line 209: xdc.cfg.SourceDir : Build of generated source libraries failed: exit status = 2:	app_ble.cfg	/sensortag_cc2650stk_app/TOOLS	 	C/C++ Problem
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.c'	sensortag_cc2650stk_app		 	C/C++ Problem
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Deleting file `package/cfg/app_ble_pem3.h'	sensortag_cc2650stk_app		 	C/C++ Problem
xdctools_3_32_00_06_core\gmake.exe: *** [package/cfg/app_ble_pem3.xdl] Error 1	sensortag_cc2650stk_app		 	C/C++ Problem
xdctools_3_32_00_06_core\gmake.exe: *** Deleting file `package/cfg/app_ble_pem3.xdl'	sensortag_cc2650stk_app		 	C/C++ Problem

Thanks the new version :(

I need help, i reinstall all of softwares ...

  • Hello SkyMan,

    Can you uninstall the BLE-Stack and manually remove "C:/ti/tirtos_cc13xx_cc26xx_2_18_00_03/*"? This appears to be an install issue with the TI-RTOS. Manually removing the Ti-RTOS path should force a re-install.

    Best wishes
  • Thanks JXS,

    But no, i can build stack and app and compile the app but not the stack.

    Cortex_M3_0: GEL: Encountered a problem loading file: C:\ti\WorkSpace\sensortag_cc2650stk_stack\FlashROM\sensortag_cc2650stk_stack.out DWARF information is corrupted.
    

    I don't understand why. 

    Console : 

    **** Build of configuration FlashROM for project sensortag_cc2650stk_stack ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k -j 4 all -O 
    "C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/stack/../../../../../tools/lib_search/lib_search.exe" C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/stack/build_config.opt "C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/stack/../../../../../tools/lib_search/params_split_cc2640.xml" C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/stack/../../../../../src/../blelib C:/ti/simplelink/ble_sdk_2_02_00_31/examples/cc2650stk/sensortag/ccs/stack/../config/lib_linker.cmd
    <<< Using Library: host_pxxx.a >>>
    <<< Using Library: cc2640_ctrl_pxxx.a >>>
    <<< Using Library: cc26xx_hci_tl_none.a >>>
    <<< Not Modifying lib_linker.cmd. Stack configurations have not changed. >>>
    ' '
    gmake[1]: Nothing to be done for 'main-build'.
    gmake[1]: warning: -jN forced in submake: disabling jobserver mode.
    
    **** Build Finished ****
    

  • Hi
    As I know, stack does not use ti-rtos. You can follow JXS's suggestion to fix errors
  • Thanks, i resolve problem. I have CCS v6.1.3 and i reinstall CSSv6.1.2. I don't know why but it's version pb.