Other Parts Discussed in Thread: C2000WARE
Hi!
Random one here, but while compiling my code, I get a bunch of errors from some header and source files that I have not even touched before. Default codes provided by TI.
I am unsure if I have done something wrong, but here are the errors:
">> Compilation failure
subdir_rules.mk:16: recipe for target 'MPM_CPU1.obj' failed
"C:/ti/F2837xD GCB/Device_support/F2837xD_headers/include/F2837xD_device.h", line 46: warning #48-D: incompatible redefinition of macro "EALLOW" (declared at line 106 of "C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2837xd\driverlib\cpu.h")
"C:/ti/F2837xD GCB/Device_support/F2837xD_headers/include/F2837xD_device.h", line 47: warning #48-D: incompatible redefinition of macro "EDIS" (declared at line 117 of "C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2837xd\driverlib\cpu.h")
"C:\ti\F2837xD GCB\Device_support\F2837xD_common\include\F2837xD_Examples.h", line 301: warning #48-D: incompatible redefinition of macro "Device_cal" (declared at line 152 of "C:\ti\c2000\C2000Ware_3_04_00_00\driverlib\f2837xd\driverlib\sysctl.h")
"C:\ti\F2837xD GCB\Device_support\F2837xD_common\include\F2837xD_GlobalPrototypes.h", line 76: error #41: expected an identifier
"C:\ti\F2837xD GCB\Device_support\F2837xD_common\include\F2837xD_GlobalPrototypes.h", line 76: error #80: expected a type specifier
"C:\ti\F2837xD GCB\Device_support\F2837xD_common\include\F2837xD_GlobalPrototypes.h", line 76: error #91: function returning function is not allowed"
The errors after these are within my own code so I can fix those. But I am unsure what to do about these above warnings and errors! Maybe something in my written user code is causing them to chuck out errors? Any advice on how these may be occuring and how to fix them?
Best wishes,
Joel

