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.

[参考译文] TMS320F28388D:f28388D

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1186814/tms320f28388d-f28388d

器件型号:TMS320F28388D
主题中讨论的其他器件:C2000WARE

>>编译失败
subdir_rules.mk:9:目标'EtherCAT_SLAVE_cm_hal.obj'的配方失败
"C:/Users/sweigl/Downloads/cm_tdk_imu-master@a6542434afc/device/cm.h"、第80行:错误#148:声明与"void __error__(const char *、uint32_t)"不兼容(在"C:\ti\c2000Ware_4_01_00_driverlib\f2838x_debug\driverlib"的第51行声明)
extern void __error__(char *文件名、uint32_t 行);
^μ A

这在另一台计算机上工作正常, 这是什么问题???

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

    您好!

    进行了更新以解决 driverlbi 中的几个 MISRA 问题、作为此更新的一部分、__error__函数的原型更新为 extern void __error__(const char *文件名、uint32_t 行);  

    文件(debug.h 或 cm.h)中的一个不匹配、这会导致此错误。   

    此致

    Siddharth