Using freeRTOS to set up 1ms interrupt with systick_Handler causing tasks to only run once

I'm completely new to freeRTOS. I had two tasks set up to run sequentially and my program ran fine. However, when I added SysTick_Config and SysTick_Handler it will only run my tasks once and then I believe just sit on idleTask (not sure if thats the right terminology). How do I solve this problem so that my tasks run like they did before with systick_handler working as well?

Here is a screenshot of my code

I apologize if the question doesn't make sense please let me know if I need to elaborate.



Read more here: https://stackoverflow.com/questions/68462219/using-freertos-to-set-up-1ms-interrupt-with-systick-handler-causing-tasks-to-onl

Content Attribution

This content was originally published by Badja at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: