A practical walkthrough of how a simple embedded superloop evolves into a real-time operating system (RTOS). Starting with a bare while loop on a microcontroller, the author incrementally adds hardware peripherals (potentiometer, servo, LCD, UART) and shows how cooperative scheduling breaks down when one task blocks others. The video then demonstrates preemptive scheduling, explains how an RTOS timer interrupt enables task switching, and covers RTOS primitives like mutexes, queues, priorities, and event-driven design. FreeRTOS is used as the practical example, with Segger SystemView for execution tracing. The author also notes memory costs and mentions Zephyr RTOS as an alternative for more complex embedded ecosystems.
•14m watch time
Sort: