RTOS From Scratch
FreeReal time operating system made with love ♥
FreeFree tier
About RTOS From Scratch
RTOS-From-Scratch is an open-source real-time operating system designed for ARM Cortex-M microcontrollers, specifically the TM4C series. Built from scratch, it includes a custom kernel, hardware drivers, data structures (e.g., stacks, queues), a file system based on FatFS, and debugging tools. The project is modularly organized into separate GitHub repositories for the kernel, drivers, file system, data structures, and CMake build support, making it suitable for learning RTOS internals or embedded development.
Key Features
Custom RTOS kernel implementation for ARM Cortex-M
Driver support for TM4C microcontroller peripherals
Data structures: LIFO (stack), FIFO (queue), and more
File system based on FatFS (elm-chan.org)
Debug and analysis tools for RTOS development
CMake build system support for ARM TM4C
Pros & Cons
Pros
- Fully open source under GPL-3.0 license
- Modular design with separate kernel, drivers, and file system
- Includes data structures and debugging tools out of the box
- Designed specifically for ARM TM4C microcontroller family
- Provides a complete RTOS implementation from scratch
Cons
- Only supports ARM TM4C (Cortex-M4) microcontrollers
- Project appears unmaintained since 2017
- Limited documentation and community support
- Small number of contributors and users
Best For
Embedded systems development on ARM Cortex-M4 (TM4C)Learning real-time operating system internalsAcademic projects and RTOS educationBuilding modular embedded software with kernel, drivers, and file system