Part Number: LAUNCHXL-CC1310
Other Parts Discussed in Thread: CC1310, SYSBIOS
Tool/software: Code Composer Studio
Hi, I'm using the CC1310 launchpad with CCS 7.2.0 and just trying to run the pwmled_cc1310_LaunchXL_tirtos_ccs example code, when i try to compile the code, i ran into some error
"Cannot build project. Referenced RTSC Configuration project 'tirtos_builds_CC1310_LAUNCHXL_release_ccs' contains build-errors. pwmled_CC1310_LAUNCHXL_tirtos_ccs pwmled_CC1310_LAUNCHXL_tirtos_ccs"
I figure it's the build in "tirtos_builds_CC1310_LAUNCHXL_release_ccs" 's problem and i try to compile that alone, and it gives me quite of bit of errors. below it's whole build message.
**** Clean-only build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 12 clean -O
DEL /F "tirtos_builds_CC1310_LAUNCHXL_release_ccs.lib" "../src/makefile.libs" "configPkg\linker.cmd" "configPkg\compiler.opt"
makefile:145: recipe for target 'clean' failed
The system cannot find the file specified.
gmake: [clean] Error 1 (ignored)
The system cannot find the file specified.
gmake: [clean] Error 2 (ignored)
RMDIR /S/Q "configPkg\"
makefile:145: recipe for target 'clean' failed
'Finished clean'
' '
**** Build Finished ****
**** Build of configuration Debug for project tirtos_builds_CC1310_LAUNCHXL_release_ccs ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 12 all -O
gmake[1]: Entering directory 'C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug'
'Building file: ../release.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_02_20_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source;C:/ti/simplelink_cc13x0_sdk_1_60_00_21/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../release.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory `C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
clem3 C:/ti/simplelink_cc13x0_sdk_1_60_00_21/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
>> Compilation failure
gmake[1]: Leaving directory `C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
"C:\MinGW\msys\1.0\packages\..\include\_ansi.h", line 15: fatal error: cannot open source file "sys/config.h"
1 catastrophic error detected in the compilation of "C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/posix/tirtos/clock.c".
Compilation terminated.
gmake[1]: *** [rom_sysbios.obj] Error 1
gmake: *** [C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_02_20_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_50_02_20_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/release_pem3.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/release_pem3.xdl'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file `package/cfg/release_pem3.h'
gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file `package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_50_02_20_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-1317695535-inproc] Error 1
gmake[1]: Leaving directory 'C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/Debug'
'Building file: ../release.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_50_02_20_core/xs" --xdcpath="C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source;C:/ti/simplelink_cc13x0_sdk_1_60_00_21/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.6.LTS" --compileOptions " -DDeviceFamily_CC13X0 " "../release.cfg"
configuring release.xem3 from package/cfg/release_pem3.cfg ...
generating custom ROM library makefile ...
Starting build of library sources ...
making C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3 ...
gmake[1]: Entering directory `C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
clem3 C:/ti/simplelink_cc13x0_sdk_1_60_00_21/kernel/tirtos/packages/ti/sysbios/BIOS.c ...
>> Compilation failure
gmake[1]: Leaving directory `C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios'
Build of libraries failed.
subdir_rules.mk:12: recipe for target 'build-1317695535-inproc' failed
"C:\MinGW\msys\1.0\packages\..\include\_ansi.h", line 15: fatal error: cannot open source file "sys/config.h"
1 catastrophic error detected in the compilation of "C:/ti/simplelink_cc13x0_sdk_1_60_00_21/source/ti/posix/tirtos/clock.c".
Compilation terminated.
gmake[1]: *** [rom_sysbios.obj] Error 1
gmake: *** [C:/ti/NewWorkSpaceV7/tirtos_builds_CC1310_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem3] Error 2
error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_50_02_20_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_50_02_20_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
xdctools_3_50_02_20_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Error 1
xdctools_3_50_02_20_core\gmake.exe: *** Deleting file `package/cfg/release_pem3.xdl'
xdctools_3_50_02_20_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file `package/cfg/release_pem3.h'
xdctools_3_50_02_20_core\gmake.exe: *** [package/cfg/release_pem3.xdl] Deleting file `package/cfg/release_pem3.c'
js: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[2]: *** [build-1317695535-inproc] Error 1
gmake[1]: *** [build-1317695535] Error 2
gmake[1]: Target 'configPkg/linker.cmd' not remade because of errors.
gmake: *** [all] Error 2
subdir_rules.mk:9: recipe for target 'build-1317695535' failed
makefile:127: recipe for target 'all' failed
**** Build Finished ****
I'm using the SimpleLink cc13x0 SDK1.60.0.21 along with XDCtools verison 3.50.2.20.
This problem only appear with i use any TI-RTOS code example code, all the NO-RTOS works just fine.
Things i have tried:
1. Uninstall and delete all files within CCS and workspace then reinstall with 7.4.0
2.Using a SDK version of 1.40.0
3.Using XDCtools version 3.32.2.25
Nothing seems to fix it. Thanks in advance for the help.