Part Number: LAUNCHXL-CC26X2R1
Other Parts Discussed in Thread: SYSCONFIG, Z-STACK
Hello,
Is there any possibility to migrate with ZStack project from TI's compiler to GCC?
I'm using CCS and have project based on zr_sampleapp example.
What i want to do is to use gcc instead of TI's compiler. I see in project properites -> general, possibility to choose compiler version.
I can select one of three options: GNU v7.2.1; GNU v9.2.1 and TI v20.2.1 LTS.
But as i can see when i changed to GNU v9.2.1 i've to reconfigure whole project, to be able to compile it again.
To be honest i'm not really familiar with all of those settings, that have to be set. So my question is if is there any manual (or even better example project) how to do this?
I'm trying to follow configuration from example project named buttonled, which is located in sdk/examples/rtos/CC26X2R1_LAUNCHXL/drivers (this project has provided configuration for gcc), but i got compilation errors listed below.
Building file: "../app.cfg"
Invoking: XDCtools
"C:/ti/sdk/xdctools_3_61_01_25_core/xs" --xdcpath="C:/ti/sdk/simplelink_cc13x2_26x2_sdk_4_30_00_54/source;C:/ti/sdk/simplelink_cc13x2_26x2_sdk_4_30_00_54/kernel/tirtos/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M4F -p ti.platforms.simplelink:CC2652R1F -r release -c "C:/ti/ccs1011/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major" "../app.cfg"
making package.mak (because of package.bld) ...
making package.mak (because of package.bld) ...
subdir_rules.mk:19: recipe for target 'build-409300143-inproc' failed
js: "C:/ti/sdk/simplelink_cc13x2_26x2_sdk_4_30_00_54/kernel/tirtos/packages/ti/targets/arm/elf/IArm.xs", line 81: Error: template generation of 'compiler.opt' failed: Error: Cannot find compiler in C:/ti/ccs1011/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major. Please check compiler path.
"./package.bld", line 54
xdctools_3_61_01_25_core\gmake.exe: *** Deleting file 'package.mak'
js: "C:/ti/sdk/simplelink_cc13x2_26x2_sdk_4_30_00_54/kernel/tirtos/packages/ti/targets/arm/elf/IArm.xs", line 81: Error: template generation of 'compiler.opt' failed: Error: Cannot find compiler in C:/ti/ccs1011/ccs/tools/compiler/gcc-arm-none-eabi-9-2019-q4-major. Please check compiler path.
"./package.bld", line 54
gmake.exe: *** Deleting file 'package.mak'
gmake.exe: *** No rule to make target '.configuro'. Stop.
js: "C:/ti/sdk/xdctools_3_61_01_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-409300143-inproc] Error 1
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-409300143', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.
As i said i'm not familiar enough with whole ti's build environment (xdc, syscfg), so if anyone can help me with setup the configuration i'll be thankful.
regards,
mf
