How do i write a GCC compatible code for below TI Compiler code in CCS 6.0
#pragma vector=TIMERA1_VECTOR __interrupt void Timer_A1(void)
It gives the below warning in GCC
ignoring #pragma vector [-Wunknown-pragmas] file.c /CCS_GCC C/C++ Problem.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
How do i write a GCC compatible code for below TI Compiler code in CCS 6.0
#pragma vector=TIMERA1_VECTOR __interrupt void Timer_A1(void)
It gives the below warning in GCC
ignoring #pragma vector [-Wunknown-pragmas] file.c /CCS_GCC C/C++ Problem.
This function declaration will do it ...
void Timer_A1(void) __attribute__ ((interrupt (TIMERA1_VECTOR)));
Thanks and regards,
-George