HeliOS is a Tiny Embedded OS Designed for Arduino Boards

Mannie Peterson (aka FellFromTree) has developed an embedded operating system called HeliOS that’s designed specifically for 8-bit and 32-bit Arduino boards, and can easily be used from the Arduino IDE.

HeliOS is said to have only 21 function calls and implements cooperative and event-driven multitasking, task notification/messaging, timers, and memory management. It’s a non-preemptive multitasking kernel so you won’t have to deal with mutexes.

Helios Arduino Operating System

The developer explains how scheduling works with HeliOS:

HeliOS uses a run-time balanced strategy which ensures tasks with shorter run-times are prioritized over tasks with longer run-times. This ensures all running tasks receive approximately equal total run-time without using context switching. The other multitasking option available in HeliOS is event driven multitasking, which uses the wait/notify and timer interfaces. Mixing cooperative and event driven tasks in HeliOS is not a problem.

To give it a try, simply open the Arduino IDE Library Manager, search for “HeliOS” and click install it. There will be some example including a blink sketch using cooperative multitasking:


HeliOS Blink Sketch

While HeliOS has been designed for Arduino AVR, SAM, and SAMD architectures, it should be possible, and fairly easy, to port it to other microcontrollers with Arduino support. The operating system, which the developer says is better described as a “multitasking kernel for embedded systems”, is meant to be a lightweight as possible, and for instance, has a much lower footprint than FreeRTOS.

You’ll find the source code and documentation on Github and the Arduino Project Hub.

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

Radxa Orion O6 Armv9 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
6 Comments
oldest
newest
Boardcon CM3588 Rockchip RK3588 System-on-Module designed for AI and IoT applications