Currently I have an application running as bare-metal in an infinite main loop, I would like to migrate this to FreeRTOS with a single task.
I am least bothered about power management, and dont want idle task to execute, here is my plan
- config FreeRTOS as co-operative
- Create a single task (task_main) in infinite loop, as task to execute the functionality as my old bare-metal in an infinite loop
- And this task never yeilds
Doing so will make my RTOS application same as equivalent bare-metal app in an infinite loop ??
Do I have to worry about anything ? my task_main to have all the CPU resources
In feature I would like to use the benefits of RTOS, but for now it has to replicate a bare-metal app in infinite loop.
Please give your inputs