Real-time embedded systems
A set of STM32/FreeRTOS and Embedded Linux projects about timing, synchronization, logging and handling faults.
0Valgrind-reported leaks
RTOSDeterministic multitasking
1Problem
Embedded code has to run several tasks and talk to devices on a predictable schedule. It also has to cope when a sensor stalls, a buffer fills up or a task runs over its time budget.
2What I built
- 01
FreeRTOS on STM32
Multiple tasks with synchronization, SPI + DMA logging, telemetry and fault handling.
- 02
Profiling
Task profiling and timing measurements.
- 03
Embedded Linux
pthreads, Linux PWM, signal handling and state-machine control on a BeagleBone Black. Valgrind reported no memory leaks.
3Result
Each project is small, and I kept the focus on behavior I could measure and test.