Part Number: C2000WARE
Hello TI experts.
I have an issue with the compilation of my project
Console output:
"C:/ti/ccs2040/ccs/tools/compiler/ti-cgt-c2000_22.6.3.LTS/bin/cl2000" -O2 --opt_for_speed=4 --fp_mode=relaxed --include_path=.......
[5]"C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f2837xs\driverlib\cpu.h", line 61: error: declaration is incompatible with "volatile unsigned int IFR" (declared at line 64 of "C:/ti/c2000/C2000Ware_5_02_00_00/device_support/f2837xs/headers/include/F2837xS_device.h")
[6]"C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f2837xs\driverlib\cpu.h", line 68: error: declaration is incompatible with "volatile unsigned int IER" (declared at line 65 of "C:/ti/c2000/C2000Ware_5_02_00_00/device_support/f2837xs/headers/include/F2837xS_device.h")
[7]"C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f2837xs\driverlib\interrupt.h", line 481: warning: declaration hides built-in function "__disable_interrupts"
[8]"C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f2837xs\driverlib\interrupt.h", line 482: warning: declaration hides built-in function "__enable_interrupts"
[9]"C:/ti/c2000/C2000Ware_5_02_00_00/driverlib/f2837xs/driverlib/can.h", line 360: warning: argument of type "int16_t *" is incompatible with parameter of type "int *"
[10]"C:/ti/c2000/C2000Ware_5_02_00_00/driverlib/f2837xs/driverlib/can.h", line 408: warning: argument of type "int16_t *" is incompatible with parameter of type "int *"
[11]"C:/ti/c2000/C2000Ware_5_02_00_00/driverlib/f2837xs/driverlib/can.h", line 457: warning: argument of type "int16_t *" is incompatible with parameter of type "int *"
[12]"C:/ti/c2000/C2000Ware_5_02_00_00/driverlib/f2837xs/driverlib/can.h", line 498: warning: argument of type "int16_t *" is incompatible with parameter of type "int *"
[13]2 errors detected in the compilation of "myFile".
This occurred after importing the project to CCS-20.4.0. Previously I was running the 12.8.1 and it worked fine.
When switching the compiler in 20.4.0 from Ti v22.6.3.LTS to Ti v22.6.1.LTS the errors (and warnings) do not appear (this is the version I had in the 12.8.1)
I have also tried changing the C2000Ware_5_02_00_00 to C2000Ware_6_00_01_00 and issue persist.