Part Number: PROCESSOR-SDK-AM335X
Tool/software: TI C/C++ Compiler
So, I load the example project GPIO_LedBlink_bbbAM335x_armTestProject from the pdk_am335x_1_0_7. And build it.
Next, I go into the settings, and change the compiler to the TI compiler. I get this:
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" "../am335x_app_bbbam335x.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring am335x_app_bbbam335x.xea8fnv from package/cfg/am335x_app_bbbam335x_pea8fnv.cfg ...
subdir_rules.mk:47: recipe for target 'build-861389649-inproc' failed
error: ti.sysbios.rts.gnu.SemiHostSupport: "C:/ti/bios_6_46_05_55/packages/ti/sysbios/rts/gnu/SemiHostSupport.xs",
line 72: ti.sysbios.rts.gnu.SemiHostSupport :
This module does not support non-GNU targets.
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/am335x_app_bbbam335x_pea8fnv.xdl] Error 1
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro:
configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
Well, that's nice...
I go into the CFG file and manually comment out the SemiHosting module. Then try again. Now I get this:
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.3.LTS" "../am335x_app_bbbam335x.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring am335x_app_bbbam335x.xea8fnv from package/cfg/am335x_app_bbbam335x_pea8fnv.cfg ...
generating custom ti.sysbios library makefile ...
subdir_rules.mk:47: recipe for target 'build-861389649-inproc' failed
js: "C:/ti/pdk_am335x_1_0_7/packages/ti/drv/gpio/package.xs", line 114:
Error: Library not found:
C:/ti/pdk_am335x_1_0_7/packages/ti/drv/gpio/./lib/a8/release/ti.drv.gpio.profiling.aea8fnv
gmake.exe: *** [package/cfg/am335x_app_bbbam335x_pea8fnv.xdl] Error 1
gmake.exe: *** Deleting file `package/cfg/am335x_app_bbbam335x_pea8fnv.xdl'
gmake.exe: *** [package/cfg/am335x_app_bbbam335x_pea8fnv.xdl] Deleting file `package/cfg/am335x_app_bbbam335x_pea8fnv.h'
gmake.exe: *** [package/cfg/am335x_app_bbbam335x_pea8fnv.xdl] Deleting file `package/cfg/am335x_app_bbbam335x_pea8fnv.c'
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52:
Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
So, am I to assume that there just is no support for the TI compiler?
Apparently, from what I can unravel, the XDC tools are expecting a library to be there, but it's not. It's not in the SDK package, and it's not built by following the instructions:
processors.wiki.ti.com/.../Rebuilding_The_PDK
What's the deal?