A real-time operating system for microcontrollers
Keeping It Real
Exploit the full power of your microcontroller with the FreeRTOS multitasking operating system.
My desktop computer uses an operating system (OS) – Linux, of course – but "operating system" is a very loose term, often describing everything that makes a computer work, from launching programs, communicating over a network, managing filesystems, and presenting the user with a sophisticated graphical user interface. Much of this functionality lies outside of the kernel of the OS, and many computers are used in such a way that they don't need some of these facilities: specifically, servers that generally run headless with administrative and user access performed over some form of network.
In the world of embedded computers, a real-time operating system (RTOS) is much more focused on being a kernel. The simplest microcontroller might require no OS at all, which is known as bare metal programming. Many microcontroller applications are written in this way, and with the judicious use of timers and interrupts, a version of multitasking can be obtained. At some point, however, this cooperative multitasking can lead to spaghetti code that is difficult to understand, debug, and maintain.
Somewhere in the spectrum of applications, from a humble microcontroller sensing when to pop the toast out of your toaster to a complex navigation and control system for a robot, a point is reached wherein some sort of operating system is desirable or even necessary. This type of operating system, RTOS, does not at first glance bear too much resemblance to a server or desktop OS.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
AlmaLinux Now Supports Raspberry Pi 5
If you're looking to create with the Raspberry Pi 5 and want to use AlmaLinux as your OS, you're in luck because it's now possible.
-
Kubuntu Focus Releases New Iterations of Ir14 and Ir16 Laptops
If you're a fan of the Kubuntu Focus laptops or have been waiting for the right time to purchase one, that time might be now.
-
NixOS 24.05 Is Ready for Prime Time
The latest release of NixOS (Uakari) has arrived and offers its usual reproducible, declarative, and reliable goodness.
-
Linux Lite 7.0 Officially Released
Based on Ubuntu 24.04 and kernel 6.8, Linux Lite version 7 now offers more options than ever.
-
KaOS Linux 2024.05 Adds Bcachfs Support and More
With updates all around, KaOS Linux now includes support for the bcachefs file system.
-
TUXEDO Computers Unveils New Iteration of the Stellaris Laptop Line
The Stellaris Slim 15 is the 6th generation and includes either an AMD or Intel CPU
-
KDE Releases Plasma 6.0.5
The latest release of the Plasma desktop has arrived with several improvements and the usual bug fixes.
-
Gnome OS Adopting systemd-sysupdate
Gnome OS is about to undergo a major under-the-hood change that promises enhanced security.
-
Endless OS 6 Now Available
After more than a year since the last update, the latest release of Endless OS is now available for general usage.
-
Fedora Asahi 40 Remix Available for Macs with Apple Silicon
If you've been anticipating KDE's Plasma 6 for your Apple Silicon-powered Mac, then you're in luck.