i am reading about RTOS. I have some confusion in RTOS. I don't understand how background task, ideal task and priority task run on RTOS system
Let's say I have a system that has 5 tasks I have one task which initialize hardware so I called it ideal task. there are three real-time tasks whose priority are 1, 2, and 3 respectively.. I have the last one which is non-real time, doesn't require real time response. so I called it background task
In this situation I want to understand how these five tasks are executed on the hardware
1) Will the OS execute the ideal task first and then the priority task's and then the background task
2) Do all tasks need to have set priority or priority only set for real-time tasks?
I would appreciate any help to clear up the misunderstandings
Let's say I have a system that has 5 tasks I have one task which initialize hardware so I called it ideal task. there are three real-time tasks whose priority are 1, 2, and 3 respectively.. I have the last one which is non-real time, doesn't require real time response. so I called it background task
In this situation I want to understand how these five tasks are executed on the hardware
1) Will the OS execute the ideal task first and then the priority task's and then the background task
2) Do all tasks need to have set priority or priority only set for real-time tasks?
I would appreciate any help to clear up the misunderstandings