Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI C/C++ Compiler
Hello,
Before updating I used CCSv8.3 and Compiler v18.1.5.LTS. With that configuration everything worked fine.
Now I updated to CCSv9 and Compiler v18.12.1.LTS and now I get compile errors. Here as an example what I did to get this error:
- Import example project pwmled2 for device CC26X2R1 and press compile
- Configuration: CCSv9.0.0.00018, Compiler v18.12.1.LTS, Simplelink CC13x2 26x2 SDK 3.10.053, XDCtools 3.51.1.18_core
Now I get this compiler output in the tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs project:
**** Build of configuration Debug for project tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs **** "C:\\ti90\\ccs\\utils\\bin\\gmake" -k -j 16 all -O Building file: "../release.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/source;C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC2642 -r release -c "C:/ti90/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions " -DDeviceFamily_CC26X2 " "../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.xem4f from package/cfg/release_pem4f.cfg ... generating custom ROM library makefile ... Starting build of library sources ... making E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem4f ... clem4f C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages/ti/sysbios/BIOS.c ... >> Compilation failure Build of libraries failed. subdir_rules.mk:12: recipe for target 'build-1701140753-inproc' failed gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 1 gmake: *** [E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/makefile.libs:57: E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem4f] Error 2 error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_01_18_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_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed! gmake.exe: *** [package.mak:202: package/cfg/release_pem4f.xdl] Error 1 gmake.exe: *** Deleting file 'package/cfg/release_pem4f.xdl' gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.h' gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.c' js: "C:/ti/xdctools_3_51_01_18_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-1701140753-inproc] Error 1 Building file: "../release.cfg" Invoking: XDCtools "C:/ti/xdctools_3_51_01_18_core/xs" --xdcpath="C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/source;C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC2642 -r release -c "C:/ti90/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS" --compileOptions " -DDeviceFamily_CC26X2 " "../release.cfg" configuring release.xem4f from package/cfg/release_pem4f.cfg ... generating custom ROM library makefile ... Starting build of library sources ... making E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem4f ... clem4f C:/ti/simplelink_cc13x2_26x2_sdk_3_10_00_53/kernel/tirtos/packages/ti/sysbios/BIOS.c ... >> Compilation failure Build of libraries failed. subdir_rules.mk:12: recipe for target 'build-1701140753-inproc' failed gmake[1]: *** [makefile:61: rom_sysbios.obj] Error 1 gmake: *** [E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/makefile.libs:57: E:/Projects/CCS/CC1352/TestWS/tirtos_builds_CC26X2R1_LAUNCHXL_release_ccs/src/sysbios/rom_sysbios.aem4f] Error 2 error: xdc.cfg.SourceDir: "C:/ti/xdctools_3_51_01_18_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_51_01_18_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed! xdctools_3_51_01_18_core\gmake.exe: *** [package.mak:202: package/cfg/release_pem4f.xdl] Error 1 xdctools_3_51_01_18_core\gmake.exe: *** Deleting file 'package/cfg/release_pem4f.xdl' xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.h' xdctools_3_51_01_18_core\gmake.exe: *** [package/cfg/release_pem4f.xdl] Deleting file 'package/cfg/release_pem4f.c' js: "C:/ti/xdctools_3_51_01_18_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-1701140753-inproc] Error 1 gmake[1]: *** [build-1701140753] 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-1701140753' failed makefile:127: recipe for target 'all' failed **** Build Finished ****
Can you tell me what is wrong here? A college has the same problem.
When I switch back to Compiler v18.1.5.LTS I can compile it and it works fine.
Regards