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.

[参考译文] TMS320F28335:TMS320F28335编译失败"ethercat/subdir_rules.mk:9:目标'ethercat/ECAT_EEPROM.obj'失败 gmake[1]:***[ethercat/ecat_EEPROM.obj]错误1 makefile:283:目标的配方#39;all"失败"

Guru**** 2044430 points
Other Parts Discussed in Thread: TMS320F28335, C2000WARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1395471/tms320f28335-tms320f28335-compilation-failure-ethercat-subdir_rules-mk-9-recipe-for-target-ethercat-ecat_eeprom-obj-failed-gmake-1-ethercat-ecat_eeprom-obj-error-1-makefile-283-recipe-for-target-all-failed

器件型号:TMS320F28335
Thread 中讨论的其他器件: C2000WARE

工具与软件:

尊敬的所有人:

我在 CCS 10.1.0中将 TMS320F28335与 TI v22.6.1 LTS 编译器一起使用、发生了2个错误、有没有任何解决方案?

构建文件:"..//EtherCat/ECAT_EEPROM.c
调用:C2000编译器
"c_diag"/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 -v28 -ml -mt -float_support=fpu32 -O4 --opt_for_speed=5 --fp_mode=relaxed --include_path="C:/ti/ccs1010/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include --advice:performance=all --define=_debug --define=Math_type=1 --define=large_model /EtherCat/ECAT_EEPROM.c

>>编译失败
ethercat/subdir_rules.mk:9:目标"ethercat/ecat_eeprom.obj"的配方失败
gmake[1]:***[EtherCAT/ECAT_EEPROM.obj]错误1.
Makefile:283:目标"全部"的配方失败
gmake:***[All]错误2.

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您是否正在使用 TI 软件示例?  

    谢谢!

    Ben Collier

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Benjamin:

    我今天尝试了这个问题、看起来效果不错、使用 C2000 ware V5.02创建一个新项目、而不是使用 TI v22.6.1 LTS 编译器进行编译。 但现在我有另一个问题是与我的旧工程比较、我怎么知道哪个版本的 C2000 ware 或其他东西需要包括在编译失败项目中? 谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    您可以签入项目属性。 右键点击工程、您应该能够在"Include"选项中找到 C2000WARE 版本。 编译器位于我认为的"产品"下面。

    此致、

    Ben Collier