Hi NXP team,
I have written a S32K144, DefaultISR function written in C-routine.
But this code is no getting hit, still execution goes to Assembly function..
/* The prototype shows it is a naked function - in effect this is just an
assembly function. */
static void DefaultISR( void ) __attribute__( ( naked ) );
/* The default handler implementation */
static void DefaultISR(void)
{
NOP();
while(1)
{
NOP();
}
}
Now DefaultISR is defines as weak function in startup file, but still execution goes to Assembly function.
How to override DefaultISR funtion in assembly file ?
Please suggest.
Regards,
Dinesh