Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Dear TI suport team,
I have to build etherCAT slave with TI-RTOS on an AM335x customized board.
Here are the component I’m using:
CCS 7.1.0.00016
gcc-arm-none-eabi-4_9-2015q3
XDCTools 3.32.1.22
PRU-ICSS-EtherCAT Slave 01.00.03.01
Processor SDK RTOS AM335x 4.0.0.4
SYS/BIOS 6.46.5.55
NDK 2.25.1.11
PDK am335x 1.0.7
I followed the steps from PRU ICSS EtherCAT to build an etherCAT slave full feature project, and I got some errors when I select NDK, SYS/BIOS and am335x PDK in RTSC tab.
Here's the log:
**** Build of configuration AM335x_release for project ethercat_slave_full_AM335x_arm ****
/home/ericwang/ti/ccsv7/utils/bin/gmake -k -j 4 all -O
gmake[1]: Entering directory '/home/ericwang/workspace_v7/ethercat_slave_full_AM335x_arm/AM335x_release'
Building file: /home/ericwang/ti/PRU-ICSS-EtherCAT_Slave_01.00.03.01/protocols/ethercat_slave/ecat_appl/am335x_app.cfg
Invoking: XDCtools
"/home/ericwang/ti/xdctools_3_32_01_22_core/xs" --xdcpath="/home/ericwang/ti/bios_6_46_05_55/packages;/home/ericwang/ti/ndk_2_25_01_11/packages;/home/ericwang/ti/pdk_am335x_1_0_7/packages;/home/ericwang/myRepository;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p myBotbone03 -r release -c "/home/ericwang/ti/gcc-arm-none-eabi-4_9-2015q3" "/home/ericwang/ti/PRU-ICSS-EtherCAT_Slave_01.00.03.01/protocols/ethercat_slave/ecat_appl/am335x_app.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.xa8fg from package/cfg/am335x_app_pa8fg.cfg ...
generating custom ti.sysbios library makefile ...
subdir_rules.mk:38: recipe for target 'build-1694665583-inproc' failed
js: "/home/ericwang/ti/pdk_am335x_1_0_7/packages/ti/drv/spi/package.xs", line 122: Error: Library not found: /home/ericwang/ti/pdk_am335x_1_0_7/packages/ti/drv/spi/./lib/am335x/a8/release/ti.drv.spi.aa8fg
gmake: *** [package/cfg/am335x_app_pa8fg.xdl] Error 1
gmake: *** Deleting file `package/cfg/am335x_app_pa8fg.xdl'
gmake: *** [package/cfg/am335x_app_pa8fg.xdl] Deleting file `package/cfg/am335x_app_pa8fg.h'
gmake: *** [package/cfg/am335x_app_pa8fg.xdl] Deleting file `package/cfg/am335x_app_pa8fg.c'
Warning: directory "/home/ericwang/myRepository" on package path has a "packages" subdirectory - did you mean this instead?
js: "/home/ericwang/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.
gmake[1]: *** [build-1694665583-inproc] Error 1
gmake: *** [build-1694665583] Error 2
gmake[1]: Leaving directory '/home/ericwang/workspace_v7/ethercat_slave_full_AM335x_arm/AM335x_release'
subdir_rules.mk:35: recipe for target 'build-1694665583' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****