AnsweredAssumed Answered

S32k144, to declare a ISR Macro

Question asked by antonior soto on Apr 15, 2019
Latest reply on Apr 17, 2019 by Alexander Fedotov


I need to migrate code from EP100 (Code Warrior) to S32k144 (S32DS), 


I need the equivalence in S32DS to the next CW  preprocessor directive, which allows me to generate the name of the ISR function:

#define ISR(isr_name) void interrupt Os_Entry_##isr_name( void )

#define DeclareISR(isr) extern ISR(isr)


More information... 

In CW, I utilized this macro as follows: 


To declare Cat2 handlers in the Interrupt vectors table...



To define a CAT2 function as follows:


Any help to continue is really appreciated.