using the interrupt attribute

Richard Slaughter rslaughter@anatel.com
Fri Oct 19 06:50:00 GMT 2001


Hi all,
I'm using the arm-elf-gcc compiler version 2.95.2-6 under cygwin for the
atmel arm processor at91fr40807.
Should the following function compile?
Can anyone point me to an example of how to use this option?

Class foo
{
public:
static f(void) __attribute__ ((interrupt("IRQ")));

}

void foo::f(void) __attribute__ ((interrupt("IRQ")))
{;}
also does the
#pragma interrupt
#pragma nointerrupt
 and  work?

thanks

Richard Slaughter
rslaughter@anatel.com


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list