I want to declare an interrupt routine function.
Originally written for armcc as :
extern "C" __irq void System_FiqDispatcher() SECTION_SRAM_2;
I am writing the same as:
extern "C" __attribute__ (( interrupt("IRQ"))) void System_FiqDispatcher() SECTION_SRAM_2;
I got the following error: line XXX : Error: #1207-D: attribute "interrupt" ignored.
What could be the problem?