Embedded Lab

Embedded programming tutorials for practical builders.

A technical blog for tutorials and series about microcontrollers, bare-metal firmware, RTOS concepts, debugging, and embedded systems development.

Featured Articles

Aug 17, 2026

Adding FreeRTOS Source Files to the Build

Add the FreeRTOS kernel, Cortex-M portable layer, heap implementation, and include paths to an STM32 CMake project without hiding what each file contributes.

Aug 17, 2026

Configuring FreeRTOSConfig.h for STM32

Configure the FreeRTOSConfig.h settings needed for first STM32 scheduler bring-up, including tick rate, CPU clock assumptions, priorities, assertions, allocation, and minimal kernel features.

Aug 17, 2026

Creating the First FreeRTOS Tasks on STM32

Create minimal FreeRTOS tasks on STM32, start the scheduler, and verify that task switching is working without adding unnecessary application complexity.