here below is the declaration from the iom4809.h
/* PORTF interrupt vectors */
#define PORTF_PORT_vect_num 29
#define PORTF_PORT_vect _VECTOR(29) /* */
Accordingly for eg i am declaring in my program the ISR for port F as below:
ISR(PORTF_PORT_vect)
{
// my isr code here
}
following are the compilation errors for the nano every board. the errors are for PORTF,E,A ISRs that i need for my project
WInterrupts.cpp.o (symbol from plugin): In function attachInterruptParam': (.text+0x0): multiple definition of __vector_6'
C:\Users\VijayMargret\AppData\Local\Temp\arduino\sketches\25C80779F7BB047EC1CBDBEBDC5DBAE9\sketch\HCA_OptiSense.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
WInterrupts.cpp.o (symbol from plugin): In function attachInterruptParam': (.text+0x0): multiple definition of __vector_35'
C:\Users\VijayMargret\AppData\Local\Temp\arduino\sketches\25C80779F7BB047EC1CBDBEBDC5DBAE9\sketch\HCA_OptiSense.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
WInterrupts.cpp.o (symbol from plugin): In function attachInterruptParam': (.text+0x0): multiple definition of __vector_29'
C:\Users\VijayMargret\AppData\Local\Temp\arduino\sketches\25C80779F7BB047EC1CBDBEBDC5DBAE9\sketch\HCA_OptiSense.ino.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Any help wud be gr8!!