UART 4 Interrupt warnin gwith PIC 24?

Status
Not open for further replies.

M3GAPL3X

Junior Member level 3
Joined
Jul 29, 2009
Messages
30
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,521
invalid interrupt vector names for device

Hi guys,

I keep getting the following warning when compiling my program. It is:
serial.c:355: warning: Invalid interrupt vector names for device '24FJ128GA106' are:
U4

The PIC24F128GA106 series has 4 Uarts. I'm not sure why I am getting that error.

My ISRS look like the following:

void __attribute__((interrupt, auto_psv)) _U4RXInterrupt(void)
{
...
}

Any help would be appreciated
 

The interrupt vector names are defined in the linker script file.
Have a look at it to see if the name exsists.
Ignore the extra underscore stuck in the front of the names in the linker file.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…