Nested interrupts for 78K0R port?

jonas1978 wrote on Tuesday, December 08, 2009:


Using NEC 16 bit 78K0R-KG3 ~14.7 MHz (uPD78F1166) 256kb Flash / 12 kb RAM with IAR EW 4.62 and Minicube2 on WinXP SP3

What will it take to support nested interrupts for 78K0R port?

Basically I need 2 levels (high and low) even though the uC supports 4 levels – furthermore, I do not need to call any of the FreeRTOS ISR API functions from the high level interrupt routines as they simply saves data to buffers. The low level interrupts uses the FreeRTOS ISR API, but as they never run simultaneous it is not necessary to protect the API calls.

Is it as simple as removing the “context switch macro’s” for the high priority interrupt functions and enable interrupts in my existing (low level) interrupt functions?

BR, Jonas

davedoors wrote on Tuesday, December 08, 2009:

Search for the text configKERNEL_INTERRUPT_PRIORITY on