Hi Steffen,
Clue: Is there a UART0 module in your MSP430? :-)
A few months ago the isr_compat.h file didn't work with IAR. Now it
works with recent versions of IAR, Quadravox, CCE, and GCC. I don't know
about Rowley. I don't have older versions of IAR to try it with.
Regards,
Steve
Steffen Netz wrote:
Hallo,
am I silly, or what.
I've tried isr_compat.h months ago for ISR and it did'nt work.
Now I have downloaded the latest CVS, and IAR works but
gcc not!!
// Run //
cat isr.c
...
extern data_t AdcBuffer_z;
extern void I2C_int(void);
ISR(UART0RX,usart0_rx) //UART0RX INTERRUPT HANDLER GCC
{
...
mgcc isr.c
isr.c:28: syntax error before numeric constant
isr.c:56: syntax error before numeric constant
isr.c:73: syntax error before numeric constant
mgcc -E isr.c | more
extern data_t AdcBuffer_z;
extern void I2C_int(void);
interrupt(18) usart0_rx(void)
// End ///
What is wrong with this?
regards,
Steffen