On 9/12/06, ozzloy <[email protected]> wrote:
i am trying to convert code written for the IAR compiler to the msp430-gcc
on windows.
right now it is complaining about this line:
__interrupt void ISRTimerA0 (void)
IntService.c:11: syntax error before "void"
i've read the following link.  it's not enough information for me though.
where is there more thorough documentation?
 http://mspgcc.sourceforge.net/faq/x55.html
i am a newb at this, so anything at all will be useful.
thank you.

With GCC, you need to use a line like:
interrupt (TIMERA0_VECTOR) ISRTimerA0 (void)

Also, you need  "#include <signal.h>" for the definition of the
"interrupt" macro, and "#include <io.h>" for the vector definitions.

Reply via email to