Back to Projects
Embedded

RTOS Task Scheduler

A custom real-time task scheduler for STM32 microcontrollers, implementing priority-based preemptive scheduling.

Context

Educational project to deeply understand real-time operating systems.

Role

Embedded Systems Developer

Goal

Build a minimal RTOS from scratch for learning purposes.

Overview

Developed a lightweight RTOS-like task scheduler for STM32F4 microcontrollers. Implements priority-based preemptive scheduling, inter-task communication via message queues, and hardware timer-based context switching. Written entirely in C and ARM Assembly.

Tech Stack

CARM AssemblySTM32KiCad

Key Features

  • Priority-based preemptive scheduling
  • Context switching via PendSV
  • Inter-task message queues
  • Semaphores and mutexes
  • Hardware timer integration