FreeRTOS Tutorials
Complete FreeRTOS tutorial series covering tasks, queues, semaphores, timers, and real-time concepts for embedded microcontrollers.
Install and configure FreeRTOS with STM32CubeIDE or CCS on your target board.
What is an RTOS, real-time scheduling concepts, and FreeRTOS architecture overview.
How to port FreeRTOS to a new microcontroller — port layer, tick, and memory.
heap_1 through heap_5 allocators — trade-offs, fragmentation, and choosing the right scheme.
Creating, deleting, and suspending tasks. Priority assignment, states, and the scheduler.
Inter-task communication using queues — sending, receiving, and blocking behavior.
One-shot and auto-reload software timers, the timer daemon task, and callbacks.
Safe ISR design with FreeRTOS — FromISR APIs, deferred interrupt processing.
Mutexes, binary semaphores, counting semaphores, and critical sections.
Synchronizing multiple tasks using event flags — set, wait, and clear operations.
Lightweight direct-to-task signaling as an alternative to semaphores and queues.
Stack overflow detection, run-time statistics, trace macros, and Tracealyzer.