I’ve some doubts about the use of “configMAX_SYSCALL_INTERRUPT” and "configKERNEL_INTERRUPT ". In the guide provided by FreeRTOS is explained that all API that can be used in interrupt (those ones terminating with fromISR) must have a priority between configMAX_SYSCALL_INTERRUPT and configKERNEL_INTERRUPT.
I’m using a MCU CORTEX-M3(ENERGY MICRO) and these two value are respectively set to:
#define configKERNEL_INTERRUPT_PRIORITY 255
#define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to 0xa0, or priority 5. */
My doubts are, the exceptions like Hard fault, bus fault, memory managemnt fault are considered as interrupt less than 191 (since in M3 the priority is opposite)? Or should be considered with a priority 255 as Systick and PendSV ?
Could you explain me which is the mapping between the CORTEX-M3 interrupt and FreeRTOS interrupt? How can I understand that the interrupt of peripheral that I gonna to use is higher than configMAX_SYSCALL_INTERRUPT?
Thanks in advance!