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 6.1 RTSC Building problem

Dear all,

I am new to rtos projects and I have a problem about rtos project. I can not any rtos project build, I have working on over 2 days but I could not solve the problems. please help me. My problems;

First, I include the project from ti rtos example and i build and compiler give me error. ( #1965 cannot open source file "xdc/std.h" ....) see detail pic-1 

second i include header files via project properties you can see picture 2  

third i try to build but ide give me  another error  you can see picture 3 . 

Finally i try another rtsc project and none of working.

What is wrong, what does  the errors mean?  How can build rtsc project?

error #10234-D: unresolved symbols remain
warning #10062-D: entry-point symbol "ResetISR" undefined
error #10010: errors encountered during linking; "uartecho_CC2650F128.out" not built

  • Hello,
    Can you post your entire build output? It looks like the build of your cfg file failed. Also please remove the additional paths you added in step 2.

    Thanks
    ki
  • Dear Ki,

    I removed additional path and build. I add the post. In your another post like this problem,you mentioned about turkish windows system language is may be causing this error. My system language is turkish but i switch it  engilish but i ide give same error. 

    Thanks

    *** Build of configuration Debug for project uartecho_CC2650F128 ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../uartecho_cc26xx.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_simplelink_2_13_01_09/packages;C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages;C:/ti/tirtos_simplelink_2_13_01_09/products/uia_2_00_02_39/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_5.2.4" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_01_09/products/cc26xxware_2_21_01_15600\" -g --gcc --define=DEBUG --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on  "
    xdc.tools.configuro: missing input config script
    Usage: xs xdc.tools.configuro [--help]
    	[-v | -q]
    	[-@ optionsfile]
    	[-o outdir]
    	[-b config_bld | -c codegen_dir | --cb]
    	[-t target] [-p platform[:instance]] [-r profile]
    	[-Dname=value]
    	[-w | -x regexp]
    	[--rtsName pkg_name]
    	[--cfgArgs args_string]
    	[--linkTemplate linker_template]
    	[--pkg] [--generationOnly]
    	[--compileOptions compile_options_string]
    	[--linkOptions linker_options_string]
    	[--oc compiler.opt] [--ol linker.cmd]
    	infile.cfg
    'Finished building: ../uartecho_cc26xx.cfg'
    ' '
    'Building file: ../Board.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/tirtos_simplelink_2_13_01_09/products/cc26xxware_2_21_01_15600" -g --gcc --define=DEBUG --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="Board.pp" --cmd_file="./configPkg/compiler.opt"  "../Board.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "..\Board.h", line 48: fatal error #1965: cannot open source file "ti/boards/SensorTag/CC26XXST_0120/Board.h"
    1 catastrophic error detected in the compilation of "../Board.c".
    
    Compilation terminated.
    >> Compilation failure
    gmake: *** [Board.obj] Error 1
    'Building file: ../uartecho_cc26xx.c'
    'Invoking: ARM Compiler'
    "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me --include_path="C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include" --include_path="C:/ti/tirtos_simplelink_2_13_01_09/products/cc26xxware_2_21_01_15600" -g --gcc --define=DEBUG --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uartecho_cc26xx.pp" --cmd_file="./configPkg/compiler.opt"  "../uartecho_cc26xx.c"
    >> ERROR: Cannot open command file './configPkg/compiler.opt': No such file or directory
    "../uartecho_cc26xx.c", line 38: fatal error #1965: cannot open source file "xdc/std.h"
    1 catastrophic error detected in the compilation of "../uartecho_cc26xx.c".
    Compilation terminated.
    
    >> Compilation failure
    gmake: *** [uartecho_cc26xx.obj] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

  • Did you try the workaround mentioned in that post where you explicitly append the cfg name and path to the command-line field?
    e2e.ti.com/.../1556086

    Thanks
    ki
  • Hi Ki,

    I tried again, but compiler give many error. i add build report. 

    Could you please give me suggestion, i cant build any rtos project. i will be crazy. 

    **** Build of configuration Debug for project uartecho_CC2650F128 ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../uartecho_cc26xx.cfg'
    'Invoking: XDCtools'
    "C:/ti/xdctools_3_31_01_33_core/xs" --xdcpath="C:/ti/tirtos_simplelink_2_13_01_09/packages;C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages;C:/ti/tirtos_simplelink_2_13_01_09/products/uia_2_00_02_39/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_5.2.4" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me --include_path=\"C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.4/include\" --include_path=\"C:/ti/tirtos_simplelink_2_13_01_09/products/cc26xxware_2_21_01_15600\" -g --gcc --define=DEBUG --display_error_number --diag_warning=225 --diag_warning=255 --diag_wrap=off --gen_func_subsections=on  " "C:/Users/DELL/Desktop/ble_Test_13/uartecho_CC2650F128/uartecho_cc26xx.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring uartecho_cc26xx.xem3 from package/cfg/uartecho_cc26xx_pem3.cfg ...
    generating custom ROM library makefile ... 
    Starting build of library sources ...
    making C:/Users/DELL/Desktop/ble_test_13/uartecho_CC2650F128/src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/Users/DELL/Desktop/ble_test_13/uartecho_CC2650F128/src/sysbios'
    Preprocessing library source files ...
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Boot.c", line 36: error: cannot open source file "driverlib/sys_ctrl.h"
    1 error detected in the compilation of "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Boot.c".
    
    >> Compilation failure
    gmake[1]: *** [mangled_arm_cc26xx_Boot_lib.pp] Error 1
    gmake[1]: *** Waiting for unfinished jobs....
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 54: error: cannot open source file "inc/hw_types.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 55: error: cannot open source file "inc/hw_prcm.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 56: error: cannot open source file "inc/hw_nvic.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 57: error: cannot open source file "inc/hw_aon_wuc.h"
    
    >> Compilation failure
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 58: error: cannot open source file "inc/hw_aon_rtc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 59: error: cannot open source file "inc/hw_memmap.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 60: error: cannot open source file "inc/hw_ccfg.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 61: error: cannot open source file "driverlib/sys_ctrl.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 62: error: cannot open source file "driverlib/pwr_ctrl.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 63: error: cannot open source file "driverlib/prcm.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 64: error: cannot open source file "driverlib/aon_wuc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 65: error: cannot open source file "driverlib/aon_ioc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 66: error: cannot open source file "driverlib/aon_rtc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 67: error: cannot open source file "driverlib/aon_event.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 68: error: cannot open source file "driverlib/aux_wuc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 69: error: cannot open source file "driverlib/osc.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 70: error: cannot open source file "driverlib/cpu.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 71: error: cannot open source file "driverlib/vims.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 72: error: cannot open source file "driverlib/sys_ctrl.h"
    "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c", line 73: error: cannot open source file "driverlib/driverlib_release.h"
    20 errors detected in the compilation of "C:/ti/tirtos_simplelink_2_13_01_09/products/bios_6_42_00_08/packages/ti/sysbios/family/arm/cc26xx/Power.c".
    gmake[1]: *** [mangled_arm_cc26xx_Power_lib.pp] Error 1
    gmake[1]: Leaving directory `C:/Users/DELL/Desktop/ble_test_13/uartecho_CC2650F128/src/sysbios'
    gmake: *** [C:/Users/DELL/Desktop/ble_test_13/uartecho_CC2650F128/src/sysbios/sysbios.aem3] Error 2
    Build of libraries failed.
    error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_31_01_33_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_31_01_33_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package/cfg/uartecho_cc26xx_pem3.xdl] Error 1
    gmake.exe: *** Deleting file `package/cfg/uartecho_cc26xx_pem3.xdl'
    gmake.exe: *** [package/cfg/uartecho_cc26xx_pem3.xdl] Deleting file `package/cfg/uartecho_cc26xx_pem3.h'
    gmake.exe: *** [package/cfg/uartecho_cc26xx_pem3.xdl] Deleting file `package/cfg/uartecho_cc26xx_pem3.c'
    js: "C:/ti/xdctools_3_31_01_33_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

  • Sorry for your pains. I think it may be related to the issues described in this thread:

    e2e.ti.com/.../433466

    I suspect there are some issues when using the later versions of ti-rtos. I will let you know as I find more information.

    Thanks
    ki
  • Hi Ki,

    I tried all ways, but it doesnt work. if you find solution please inform to me .

  • Ok, as suspected, BLE SDK 2.0.0 is not supported out of the box with ti-rtos 2.13.01.09.
    See: e2e.ti.com/.../421520

    I did a port myself and for it to build. I documented my steps here:
    e2e.ti.com/.../1559943

    ki
  • Dear Ki,
    I did not work. My problem is about all rtos project building. I have not find a solution yet. if i found problem i will return.
  • I strongly suggest using the ti-rtos (2.11.01.09) and xdc (3.30.06.67) versions that come with the BLE-STACK-2. Those are the versions that are officially supported with the BLE stack v2.0