User Activity

I am writing my own context switcher. I have a couple LED blink tasks for testing. It works fine when the tasks don't call any functions. Everything is inline. But when I include some function calls in the tasks and I get a context switch while in on...
This was a tricky bug to find. I am doing context switching. Everything seems to working well until a context switch happens while one of my tasks has called a different function. Specifically, HAL_GetTick(). To be clear the switch is happening while...
I am trying to fire the PendSV interrupt from within SysTick. I was trying to use HAL_NVIC_SetPending() but discovered that this function ignores interrupt IDs of 0 or less. I am looking for an alternative.