I hope I am asking this in the correct forum. I think there is a setting in CCS that I can't find, thus I started here.
I'm just getting started with CCS and TI products in general. I bought the am3359 ice2 eval board and am trying to build the ethercat slave example. I imported the example, changed the target to ICE_AM3359 [Cortex A]. When I try to build I get the message below:
**** Build of configuration am335x_debug for project ethercat ****
/opt/ti/ccsv6/utils/bin/gmake -k all
Building file: ../am335xx_app.cfg
Invoking: XDCtools
"/home/shartmann/ti/xdctools_3_31_02_38_core/xs" --xdcpath="/home/shartmann/ti/bios_6_45_00_19/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -c "/opt/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3" "../am335xx_app.cfg"
configuring am335xx_app.xa8fg from package/cfg/am335xx_app_pa8fg.cfg ...
generating custom ti.sysbios library makefile ...
js: "/home/shartmann/ti/xdctools_3_31_02_38_core/packages/xdc/cfg/Main.xs", line 49: XDC runtime error: can't find program 'am335xx_app.xa8fg's linker command template file: 'null/examples/ethercat_slave/ethercat.xdt' along the path /home/shartmann/ti/bios_6_45_00_19/packages;/home/shartmann/ti/xdctools_3_31_02_38_core/packages;..;
gmake: *** [package/cfg/am335xx_app_pa8fg.xdl] Error 1
gmake: *** Deleting file `package/cfg/am335xx_app_pa8fg.xdl'
gmake: *** [package/cfg/am335xx_app_pa8fg.xdl] Deleting file `package/cfg/am335xx_app_pa8fg.h'
gmake: *** [package/cfg/am335xx_app_pa8fg.xdl] Deleting file `package/cfg/am335xx_app_pa8fg.c'
js: "/home/shartmann/ti/xdctools_3_31_02_38_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/linker.cmd] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
So, it appears it is having an issue finding the file ethercat.xdt. I found these two instances:
shartmann@shartmann-mint ~ $ locate ethercat.xdt
/home/shartmann/ti/sysbios_ind_sdk_2.1.1.2/sdk/examples/ethercat_slave/ethercat.xdt
/home/shartmann/workspace_v6_1/ethercat/ethercat.xdt
My guess is it should be using the second one since that is where I imported the project to. Anyway, how do I let the build tools know where to find this file so I can resolve this issue.
Thanks,
Steve