ANTIRTOS is a compact real-time operating system (RTOS) written in ANSI C for microcontrollers and embedded systems. It is designed to be simple, portable, and efficient, making it ideal for resource-constrained environments such as IoT devices, robotics, and educational hardware projects. ANTIRTOS features a basic scheduler, support for cooperative and preemptive multitasking, and offers portability across different CPU architectures with minimal changes. Its simplicity and clarity make it a great starting point for learning real-time systems.

Features

  • Written in ANSI C for high portability
  • Cooperative and preemptive multitasking support
  • Small memory footprint for constrained devices
  • Simple round-robin or priority-based scheduling
  • Configurable tick rate for task timing
  • Compatible with a wide range of microcontrollers
  • Basic synchronization primitives like semaphores
  • Easily extendable for hardware-specific features

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ANTIRTOS

ANTIRTOS Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • ANTIRTOS is an ultra-lightweight, robust, secure, and efficient universal C++ library designed for task management in IoT and embedded applications. It is coded in one header-only file, that provides four versions of main task queue class : fQ is the basic class, fQP adds an argument for the queued functions, del_fQ adds an delay before the function is executed, and del_fQP add both enhancements. Each queue object contains an array of pointers to functions to execute sequentially. The "push" procedure adds a function to the back of the queue, while the "pull" procedure executes the next function and removes it from the queue. Several queues can co-exist concurrently, and the execution of the functions occurs outside of interrupts in a non-blocking way. ANTIRTOS is suitable for a variety of devices, from simple microcontrollers to complex embedded systems where the complexity and overhead of an RTOS are not justified. C version also exists and called ANTIRTOS#C, A modern version called ANTIRTOS MODERN and use std lib (including tuples)
Read more reviews >

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

C++

Related Categories

C++ Operating Systems

Registered

2025-04-02