Hi Folks
I'm using CCS v6.0.1.00040 on Windows 7. I have a C file in a C2000 project. If I define a function like so:
static __interupt void my_isr (void) { CPU_enableGlobalInts(someStructType.cpuHandleMember); //... }
The syntax colouring of the code inside the function, CPU_enableGlobalInts function name (purple) and the cpuHandleMember (blue) does not work, although the colouring of the function name and keywords themselves (i.e. the `static __interrupt void my_isr(void)`) continues correctly.
If I remove any single keyword; `static` or `__interrupt` or even the leading `void`, then the colouring is immediately corrected.
This also happens using the plain old `interrupt` keyword in place of the `__interrupt`
I did check if I could alter this behaviour via the CCS Window > Preferences panel, but as it seems to be a matter of what CCS believes consitutes a correct C function I did not find a way of altering this. Maybe it's part of the CDT if not CCS?
Seasons greetings!