Thanks for reporting back. In your case, the definition of configSYSTICK_CLOCK_HZ
is optional, so I can’t understand how defining it fixed the issues you were having. When you define that symbol, FreeRTOS configures the SysTick a little differently, but that shouldn’t have impacted anything of any consequence in your case.
Also it’s best to avoid that file you mentioned, opencm3.c. The PendSV handler is intended to be the ISR, not to be called from the ISR. If the PendSV handler is called from the ISR, and if the ISR uses stack, the PendSV handler can’t do its job properly. The proper alternative to opencm3.c is the three #define statements you mentioned earlier that put the FreeRTOS handlers directly into the vector table.