Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE
Tool/software: Code Composer Studio
I'm trying to compile my C for a C2000 processor, but I get compilation error everywhere that the interrupt keyword is used. What could be causing this? The file containing the first instance of the error is pievect.h , which is part of the library provided by TI. The error is
c:\ti\controlsuite\device_support\f2837xd\v190\f2837xd_headers\include/F2837xD_pievect.h:24:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' typedef __interrupt void (*PINT)(void);
The snippet that throws the error is below:
// PIE Interrupt Vector Table Definition:
// Create a user type called PINT (pointer to interrupt):
typedef __interrupt void (*PINT)(void);