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
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.