TI中文支持网
TI专业的中文技术问题搜集分享网站

AMIC110工程编译问题

我在参照官网的《DemonstratingDDR-lessEtherCATSlaveonAMIC110》视频来编译我的固件

但是在gmake all编译一段时间后,抛出如下错误

c:/ti/xdctools_3_55_02_22_core/gmake -f c:/ti/pdk_am335x_1_0_17/packages/ti/build/makefile pdk_dup_apps
gmake[3]: Entering directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake[3]: Nothing to be done for 'pdk_dup_apps'.
gmake[3]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake[2]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake[1]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
c:/ti/xdctools_3_55_02_22_core/gmake -C c:/ti/pdk_am335x_1_0_17/packages/ti/build -f makefile_non-buildinfra all PDK_SOC=am335x
gmake[1]: Entering directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
c:/ti/xdctools_3_55_02_22_core/gmake -C c:/ti/pdk_am335x_1_0_17/packages/ti/starterware all_profiles -j1 PLATFORM="am335x-evm"
gmake[2]: Entering directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/starterware'
cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
系统找不到指定的路径。
gmake[2]: *** [Makefile:203: bootloaders_all_bootmodes_profiles] Error 1
gmake[2]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/starterware'
gmake[1]: *** [makefile_non-buildinfra:185: starterware] Error 2
gmake[1]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake: *** [makefile:97: non-buildinfra_all] Error 2

求教是为何

Nancy Wang:

请问是下载的哪个SDK?视频链接也贴出来一下。

YongQiang Zhou:

回复 Nancy Wang:

安装的环境:按照下方视频中的做法来的

CCS9.3.0.00012_win64

PRU-ICSS-EtherCAT_Slave-01.00.08.01-Windows-x86-Install

ti-processor-sdk-rtos-am335x-evm-06.03.00.106-Windows-x86-Install

patch-2.5.9-7-bin

dos2unix-7.4.1-win64

视频:https://training.ti.com/demonstrating-ddr-less-ethercat-slave-amic110

Nancy Wang:

回复 YongQiang Zhou:

版本没有问题,环境变量都是按照实际情况来修改的吗?参考以下链接的说明再看一下。
software-dl.ti.com/…/PRU_ICSS_EtherCAT.html

YongQiang Zhou:

回复 Nancy Wang:

我确认了环境变量都没有问题我是按照那个视频/文件中做下去的,在第七步,也就是

“7.Rebuild the PDK to generate thumb mode LLD libraries”视频中是先执行了gmake clean
但是我执行后报错

c:\ti\pdk_am335x_1_0_17\packages>gmake clean
makefile:19: /ti/build/Rules.make: No such file or directory
gmake: *** No rule to make target '/ti/build/Rules.make'.Stop.

于是我先执行了目录下的 pdksetupenv.bat去设定环境变量

c:\ti\pdk_am335x_1_0_17\packages>pdksetupenv.bat
***************************************************
Environment Configuration:
***************************************************SDK_INSTALL_PATH: c:/tiPDK_INSTALL_PATH: c:/ti/pdk_am335x_1_0_17/packagesGMAKE_INSTALL_PATH: c:/ti/xdctools_3_55_02_22_corePDK_SOC: am335xPDK_VERSION: 1_0_17RULES_MAKE: c:/ti/pdk_am335x_1_0_17/packages/ti/build/Rules.make
***************************************************

然后再去执行gmake clean

没有问题

最后gmake all

抛出我一开始的报错问题

【我系统设定环境变量使用的gmake是C:\ti\xdctools_3_55_02_22_core 这个目录下的gmake工具】

Nancy Wang:

回复 YongQiang Zhou:

我需要询问相关工程师,再为您解答,一旦得到回复会立即回复给您。

赞(0)
未经允许不得转载:TI中文支持网 » AMIC110工程编译问题
分享到: 更多 (0)