This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

nullIsrFunc exception handler issue

Other Parts Discussed in Thread: SYSBIOS

I am trying to add an exception handler for various exceptions. Here is what I have in the .cfg file:

var HwiM3 = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');

HwiM3.nvicCCR.DIV_0_TRP = 1;
HwiM3.excHookFunc = "&FaultISR";
HwiM3.busFaultFunc = "&FaultISR";
HwiM3.hardFaultFunc =  "&FaultISR";
HwiM3.memFaultFunc =  "&FaultISR";
HwiM3.nullIsrFunc =   "&FaultISR";
HwiM3.debugMonFunc =  "&FaultISR";
HwiM3.nmiFunc =  "&FaultISR";
HwiM3.reservedFunc =  "&FaultISR";

When I build I get the following warning:

"package/cfg/project_pem4f.c", line 1480: error: declaration is incompatible with "void FaultISR(void)" (declared at line 1477)

in that pem4f c file:

/* --> FaultISR */
extern xdc_Void FaultISR(xdc_Void);

/* --> FaultISR */
extern xdc_Void FaultISR(ti_sysbios_family_arm_m3_Hwi_ExcContext*);

/* --> FaultISR */
extern xdc_Void FaultISR(ti_sysbios_family_arm_m3_Hwi_ExcContext*);

The highlighted portion is generated when I add:

HwiM3.nullIsrFunc =   "&FaultISR";

- Does nullisrfault not have exception context?

- Doesn't nullisrfault mean there was an interrupt enabled but there was no handler? 

Thanks