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.
>>编译失败
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