Timing
RTOS for AVR Arduino microcontrollers (Uno & Mega)
AVRTOS is a real-time operating system designed for 8-bit AVR-based Arduino microcontrollers. The library supports multithreading (cooperative and preemptive), a simple scheduler (no priority), mutexes, semaphores, events, timers, flags, workqueues, FIFO queues, and drivers for GPIO, UART, EXTI/PCI interrupts, SPI and I2C. It is highly configurable and has been tested on ATmega328P (Arduino UNO/PRO) and ATmega2560 (Arduino MEGA) platforms. The API style is similar to that of the Zephyr RTOS.
Maintainer: Lucas Dietrich
This library is compatible with the avr architecture so you should be able to use it on the following Arduino boards:
Note: while the library is supposed to compile correctly on these architectures, it might require specific hardware features that may be available only on some boards.
To use this library, open the Library Manager in the Arduino IDE and install it from there.