Concept Flow - Bare-metal vs RTOS execution model
Start
Bare-metal
Single main loop
Tasks run one by one
No preemption
RTOS
Multiple tasks
Scheduler runs
Tasks preempted & switched
Concurrent task execution
End
Shows the flow difference: Bare-metal runs one main loop with tasks sequentially, RTOS uses a scheduler to switch between tasks for concurrency.
