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

Part Number: TMS320F28388D
Other Parts Discussed in Thread: C2000WARE

>> Compilation failure
subdir_rules.mk:9: recipe for target 'ethercat_slave_cm_hal.obj' failed
"C:/Users/sweigl/Downloads/cm_tdk_imu-master@a6542434afc/device/cm.h", line 80: error #148: declaration is incompatible with "void __error__(const char *, uint32_t)" (declared at line 51 of "C:\ti\c2000\C2000Ware_4_01_00_00\driverlib\f2838x\driverlib_cm\debug.h")
extern void __error__(char *filename, uint32_t line);
^

This works on a different computer,  What is wrong with this ???

  • Hi,

    There was a update done to fix few MISRA issues in the driverlbi and as part of that the the prototype for the __error__ function was updated to extern void __error__(const char *filename, uint32_t line); 

    Looks like there is a mismatch in one fo the files (debug.h or cm.h) which is causing this error.  

    Best Regards

    Siddharth