Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: TI C/C++ Compiler
Hello everyone.
I've uncovered one of my old projects for Piccolo, that was made using 6.2.0 Compiler. Now I have 16.12.0 STS compiler. But the project doesn't compile.
The compiler gives error on a function pointer "extern void (*Flash_CallbackPtr) (void);" from "F2806x_BootVars.h". It's surrounded with "extern "C" {}".
This function is also in "F2806x_GlobalVariableDefs.c" - void (*Flash_CallbackPtr) (void);
So the comipler complains on this: "../src/F2806x_GlobalVariableDefs.c", line 474: error #148: declaration is incompatible with "void (*Flash_CallbackPtr)() C" (declared at line 31 of "C:\WorkSpaces\ProjectsGit\ServoPiccolo69\include\F2806x_BootVars.h")
Look's like this causes an error on all compilers above 6.2.0 - i've tried 16.9.1, 16.6.0, 6.4.12.
The project includes only of TI files - from ControlSUITE "device_support" folder: headers and source-files for peripherals and system control.
Help me with this problem, please.