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 -- -------------------------------------------------------------------- | Fraunhofer Institut Photonische Microsysteme | | | | Fraunhofer Institute for Photonic Microsystems ( Germany ) | | | | Steffen Netz | phone : ( +49 ) (0)351/8823-212 | | Maria-Reiche-Str. 2 | fax : ( +49 ) (0)351/8823-266 | | 01109 Dresden | email : steffen.n...@ipms.fraunhofer.de | --------------------------------------------------------------------