The BlinkyIRQ example is not compatible with the Atmel AT91 family. And none of Atmel's appnotes use GNU. Is it possible to use the same: void tc2_test (void) __attribute__ ((interrupt)); // Generate Interrupt setup for the AT91, or is it necessary to use the assembler handler examples that Atmel gives in their application notes? Any other comments of suggestions would be appreciated. Thanks, Al
in GNU / AT91, this example is fine for one interrupt. but this attribute will never work on nested interrupts. like receiving a higher priority interrupt while another is still running. because the CPSR-I bit is disabled just before entering the routine. CPSR-I must be enabled manually for higher priority interrupts to work correctly. im not sure how ARM compiler will work using __irq attribute?
See discussion on: http://www.keil.com/support/docs/2910.htm
Just for clearification. We at Keil will still generate example projects for the GNU toolset. Currently we are working on examples for the ATMEL AT91SAM7S series. They will become available in about 2-3 weeks.