PM Transit
ECE 350 · Spring 2026

STM32 Real-Time Kernel

An operating-systems lab sequence that builds a real-time executive on the STM32F401RE.

  • C
  • ARM Cortex-M
  • Scheduling
  • Memory allocation

Task lifecycle

Task creation, per-task stacks, yielding and context switching let multiple tasks share one microcontroller. Debugging focused on execution state and stack contents across a switch.

Memory and scheduling

Later deliverables add a first-fit heap allocator and preemptive earliest-deadline-first scheduling. Automated tests exercise task and memory behavior as the kernel grows.