-
On STM32, the three interrupts handlers provided by FreeRTOS are SysTick, PendSV, and SVCall (aka SVC). You should tell CubeMX not to generate handlers for those three.
-
As for other interrupts, you need to divide them into two categories: those with ISRs that make FreeRTOS API calls, and those with ISRs that do not make FreeRTOS API calls.
An ISR that makes API calls must use a lower priority (numerically higher) thanconfigLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY
. An ISR that does not make API calls can use any interrupt priority.
1 Like