This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PRU-ICSS-INDUSTRIAL-SW: [AM65 IDK] Not able to compile the EtherCAT example

Part Number: PRU-ICSS-INDUSTRIAL-SW
Other Parts Discussed in Thread: SYSBIOS

Tool/software:

Hello,

I'm not able to compile the EtherCAT demo for the AM65x IDK from the PRU-ICSS-EtherCAT_Slave_01.00.10.00. I managed to create the CCS project, but if I compile it then I have this issue:


**** Build of configuration AM65xx_debug for project ethercat_slave_demo_AM65xx_r5f ****

"C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 16 all -O

Building file: "C:/ti/PRU-ICSS-EtherCAT_Slave_01.00.10.00/protocols/ethercat_slave/ecat_appl/am65xx_app_r5f.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_62_00_08_core/xs" --xdcpath="C:/ti/bios_6_83_00_18/packages;C:/ti/pdk_am65xx_09_01_00_02/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R5F -p ti.platforms.cortexR:AM65X -r release -c "C:/ti/ti-cgt-arm_20.2.7.LTS" "C:/ti/PRU-ICSS-EtherCAT_Slave_01.00.10.00/protocols/ethercat_slave/ecat_appl/am65xx_app_r5f.cfg"
configuring am65xx_app_r5f.xer5f from package/cfg/am65xx_app_r5f_per5f.cfg ...
subdir_rules.mk:40: recipe for target 'build-973668161-inproc' failed
js: "C:/ti/PRU-ICSS-EtherCAT_Slave_01.00.10.00/protocols/ethercat_slave/ecat_appl/am65xx_app_r5f.cfg", line 64: xdc.services.global.XDCException: xdc.PACKAGE_NOT_FOUND: C:\ti\pdk_am65xx_09_01_00_02\packages\ti\drv\uart\package.xdc found along the package path, but no schema file was found. Ensure that the package 'ti.drv.uart' is completely built.
"./package/cfg/am65xx_app_r5f_per5f.cfg", line 200
xdctools_3_62_00_08_core\gmake.exe: *** [package.mak:202: package/cfg/am65xx_app_r5f_per5f.xdl] Error 1
js: "C:/ti/xdctools_3_62_00_08_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-973668161-inproc] Error 1
gmake: *** [build-973668161] Error 2
subdir_rules.mk:37: recipe for target 'build-973668161' failed
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

If I disable the ti.drv.uart, then it complains about the next config (ti.drv.i2c). Any hint why is not compiling? My setup is the following:

***************************************************
Environment Configuration:
***************************************************
SDK_INSTALL_PATH : C:/ti
PDK_INSTALL_PATH : C:/ti/pdk_am65xx_09_01_00_02/packages
GMAKE_INSTALL_PATH : C:/ti/xdctools_3_62_00_08_core
PDK_SOC : am65xx
PDK_VERSION : 09_01_00
RULES_MAKE : C:/ti/pdk_am65xx_09_01_00_02/packages/ti/build/Rules.make
***************************************************

Sysbios is 6.83.0.18.

Kind regards,

Álvaro