FREE X427 board for the first 50 college students · first 50offer ends 31 Dec

Reading view

Documentation

Real-time kernel

VaiOS

VaiOS is a small preemptive RTOS for ARM Cortex-M (ARMv7E-M), for hard-real-time work such as a 1 kHz flight controller. It sits on NavHAL, and Vayu's firmware runs on it.

Who it is for
Firmware developers.
Version
0.2.3 (tag v0.2.3)
License
Apache-2.0
This book
12 chapters
Start reading Chapter 1: Introduction

Chapters

  1. 01IntroductionVaiOS is the runtime layer of the VAYU system, designed to provide deterministic execution, efficient task management, and essential system services for real-time embedded applications.
  2. 02OverviewVaiOS provides a structured runtime environment for managing execution and system services in embedded applications.
  3. 03Design GoalsThe design of VaiOS is guided by the requirements of real-time embedded systems, where predictable execution, low overhead, and reliability are essential.
  4. 04System ArchitectureVaiOS is organized into a modular architecture that separates core system functionality from hardware-specific implementations.
  5. 05Task ModelVaiOS follows a task-based execution model, where each unit of execution is represented as an independent task managed by the kernel.
  6. 06Scheduler DesignVaiOS employs a preemptive, priority-based scheduling strategy with round-robin execution among tasks of equal priority.
  7. 07Timing and Tick ManagementVaiOS uses a periodic system tick to drive time-dependent behavior such as task delays, time slicing, and runtime accounting.
  8. 08Inter-Task CommunicationVaiOS provides a set of inter-task communication (IPC) primitives that enable coordination and data exchange between tasks.
  9. 09Memory ManagementVaiOS provides a lightweight dynamic memory management system to support task creation and system services.
  10. 10Integration with VAYUVaiOS serves as the execution backbone for the VAYU system, providing the runtime environment in which all application logic is organized and executed.
  11. 11Performance AnalysisThe performance of VaiOS was evaluated using a comprehensive benchmark suite executed on 5 March 2026.
  12. 12Limitations and Future WorkWhile VaiOS provides a robust and efficient runtime environment for real-time embedded systems, there are several limitations in the current implementation that present opportunities for future improvement.