By Lisa Voronkova, CEO of OVA Solutions. Updated on November 25, 2026.
In short
A real-time operating system (RTOS) runs a device’s firmware as separate tasks and guarantees that the urgent ones, such as sampling a sensor, closing a control loop or raising an alarm, run on time. In medical devices RTOSes run on microcontrollers in wearables, pumps, monitors and the control boards of life-support equipment, while embedded Linux usually runs the touchscreen and the network. An RTOS you did not write is SOUP under IEC 62304 and off-the-shelf software for FDA: you identify it, specify what you need from it, review its known bugs, analyze how its failure could cause harm and test it in your device. A vendor’s safety certificate shortens that work; it does not remove it.
How RTOSes are used in medical devices
A medical device usually does several things at once: it samples sensors at a fixed rate, runs a control loop or an algorithm, talks over Bluetooth or Wi-Fi, updates a display, logs data and watches its own battery and faults. On a small microcontroller a superloop can do this until the timing starts to interfere. An RTOS gives each job its own task with a priority, so a radio event or a slow flash write cannot delay the sample or the alarm that matters.
| Device | What has to happen on time | Platform on our projects or typical choice |
|---|---|---|
| Ventilator control board | Pressure and flow sampling, valve control, alarms | STM32F446 for real-time respiratory control on our portable ventilator, separate from the interface computer |
| Wearable controller for a neural implant | Gait data in, stimulation patterns out, with bounded jitter | nRF54L15 with Zephyr RTOS and Bluetooth 5.4 on our implant hub |
| Load-sensing rehabilitation crutch | Force sampling, feedback to the patient, Bluetooth, low power | nRF52 with Bluetooth on our smart crutch |
| Skin-worn ECG or PPG patch | Continuous sampling, buffering while the phone is away, days on a small cell | Bluetooth microcontroller with an RTOS, see our patch article |
| Infusion or insulin pump | Motor steps, occlusion detection, dose limits, alarms | Microcontroller with an RTOS or a certified kernel, sometimes with an independent safety processor |
| Patient monitor | Several parameters sampled in parallel, alarms, a responsive display | Microcontrollers with an RTOS for acquisition, an application processor for the display |
Bare metal, RTOS or embedded Linux
| Bare metal (superloop) | RTOS | Embedded Linux | |
|---|---|---|---|
| Fits | One or two simple jobs, tight cost and power | Several concurrent jobs with deadlines on a microcontroller | Touchscreens, cameras, rich networking, containers, machine learning on an application processor |
| Timing | Deterministic while the code is small | Deterministic by priority, if designed for it | Soft real time; PREEMPT_RT tightens it, but critical loops usually stay on a microcontroller |
| Footprint | Kilobytes | Kilobytes to tens of kilobytes | Hundreds of megabytes of storage, external RAM |
| Power | Lowest | Low, with tickless idle | Highest; seconds to boot |
| SOUP to document | None or vendor libraries | One kernel plus stacks | Kernel, bootloader, libraries, often hundreds of packages |
| Security patches | Rare | Occasional, from the RTOS and radio stack | Constant; plan for field updates |
Designs that need a display or cloud connectivity often use both: a microcontroller with an RTOS for what touches the patient, and Linux for what touches the user and the network.
Splitting the system by safety class
IEC 62304 assigns each software system a safety class, A, B or C, by the harm its failure could contribute to, and lets you segregate items of different classes if the segregation is justified. Putting the safety-critical control on its own processor with its own RTOS keeps the Class C part small, and the rest of the software can change without reopening it.
On our portable ventilator the respiratory control ran on an STM32F446 and the interface on an i.MX8 QuadMax, on opposite sides of an isolation barrier. Under IEC 62304 software safety Class C, keeping the interface on its own side made the difference between a two-week and a two-month regression cycle. On our wrist remote patient monitor the application side ran Yocto Linux on an i.MX8M with Docker containers, Qt, Python and C.
RTOS options for medical devices, and what each vendor certifies
The table reports safety claims as each vendor or project publishes them, checked on November 25, 2026. A certificate applies to a specific version, configuration and processor family; ask for the certificate and the safety manual before you plan on it.
| RTOS | License | Published safety evidence | Notes |
|---|---|---|---|
| FreeRTOS | MIT | None for the kernel itself | Long-term support releases get fixes for at least two years; LTS 202604 with kernel 11.3.0 is maintained until April 30, 2028. Our FreeRTOS article covers its use in devices |
| SAFERTOS | Commercial | Pre-certified to IEC 61508 SIL 3 and ISO 26262 ASIL D by TÜV SÜD; design history file independently validated against FDA 510(k) Class III and EN 62304 requirements | Based on the functional model of FreeRTOS but a separate, redesigned kernel |
| Zephyr | Apache 2.0 | Safety certification to IEC 61508 SIL 3 in progress; no IEC 62304 target yet | Medical makers still treat it as SOUP. LTS 3.7 is supported to July 2029. See our Zephyr article |
| Eclipse ThreadX | MIT | Versions 6.1.x certified by SGS-TÜV Saar to IEC 62304 Class C and IEC 61508 SIL 4; certification of 6.4.1 planned for 2026 | Formerly Azure RTOS, open source since 2024; safety artifacts sold to alliance members |
| SEGGER embOS-Safe | Commercial | TÜV-certified to IEC 61508 SIL 3 and up to IEC 62304 Class C (embOS-Ultra-Safe) | Small kernel for microcontrollers |
| QNX OS for Safety 8.0 | Commercial | Certified by TÜV Rheinland to IEC 62304 Class C, IEC 61508 SIL 3, ISO 26262 ASIL D | Microkernel for application processors; QNX markets it for monitoring, drug delivery, imaging and surgical robots |
| VxWorks Cert | Commercial | IEC 62304 compliance evidence assessed by TÜV SÜD, up to Class C (2019 announcement) | Check the current release and its certificate |
| Green Hills INTEGRITY | Commercial | IEC 61508 SIL 3 and other industry certificates; the vendor cites use in Class II and III medical devices | No IEC 62304 certificate claim found on the vendor pages |
| uC/OS | Apache 2.0 since 2020 | The custodian states uC/OS-II was certified for safety-critical use; standard not named on its repository | Now maintained by Weston Embedded |
Silicon vendors also ship kernels with their software kits; our TI-RTOS article covers designs built on the Texas Instruments kernel. The same SOUP rules apply to them.
What IEC 62304 asks for an RTOS
IEC 62304 calls software you did not develop under your own process SOUP, software of unknown provenance, and an RTOS is the classic example even when it is certified. FDA recognizes the 2015 consolidated edition, IEC 62304:2006 with amendment 1, as standard 13-79. The SOUP clauses, as mapped by OpenRegulatory, are:
| Clause | What you do for the RTOS | Safety classes |
|---|---|---|
| 8.1.2 Identify SOUP | Record the title, manufacturer and exact version of the kernel and every stack you use | A, B, C |
| 5.3.3 Functional and performance requirements | State what your design needs from it: scheduling, timing, memory, interrupt latency | B, C |
| 5.3.4 Hardware and software required | State the processor, compiler, configuration and other software it depends on | B, C |
| 7.1.2 Hazardous situations | Analyze how a failure of the RTOS could contribute to a hazardous situation | B, C |
| 7.1.3 Published anomaly lists | Review the known bugs and security issues for your version and record why each is acceptable or how it is mitigated | B, C |
A second edition of IEC 62304 has been in work for years. An earlier draft was withdrawn around the turn of 2021 and 2022; according to the Johner Institute and QuickBird, IEC now forecasts publication in October 2028, so plans made today follow edition 1.1.
What FDA asks for off-the-shelf software
FDA’s guidance Off-The-Shelf Software Use in Medical Devices, issued on August 11, 2023, covers software for which the manufacturer cannot claim complete life cycle control, and names operating systems as an example. It ties what you submit to the documentation level of FDA’s June 2023 software guidance: enhanced where a failure could present a hazardous situation with a probable risk of death or serious injury, before risk controls, and basic otherwise.
| Documentation for the RTOS | Basic level | Enhanced level |
|---|---|---|
| Description: name, version, the hardware it runs on, configuration and a complete list of patches | Submitted | Submitted |
| Risk assessment of the RTOS in your device | Submitted | Submitted |
| Test plans and results showing it works as you need | Submitted | Submitted |
| Assurance that the developer’s methods are appropriate, and that maintenance and support will continue | Kept in your design records | Submitted |
For an enhanced-level device the last row is where a certified RTOS earns its price: the vendor’s safety manual, certificate and support contract are the evidence. With an open-source kernel you build that evidence yourself from its development process, test suites and maintenance record.
SBOM, support dates and updates
For devices with software that connect to the internet, section 524B of the FD&C Act requires a software bill of materials that includes commercial, open-source and off-the-shelf components, so the RTOS and its network and Bluetooth stacks appear in it. FDA’s cybersecurity guidance of June 27, 2025 asks for the level of support and the end-of-support date of each component, and for plans to update or replace third-party components whose support ends.
- Pick a version with a published support period that covers your launch and early years on the market.
- Subscribe to the security advisories of the kernel and of every stack you use, and record your review of each.
- Use the memory protection unit or TrustZone where the processor has one, so a fault in one task cannot overwrite another.
- Design a signed, fail-safe firmware update path before the first clinical build, not after the first vulnerability.
Our free FDA cyber device check tells whether section 524B applies to your device, and our page on section 524B lists what the submission contains.
Linux in medical and healthcare devices
Linux runs in cleared medical devices, usually on the side that handles the display, data and connectivity. The 510(k) summary for K251029, an imaging software product cleared on August 21, 2025, states that the software runs on a Linux-based workstation. Since Linux 6.12, released on November 17, 2024, the PREEMPT_RT real-time patches are part of mainline Linux after about 20 years outside it, which makes soft real-time work on an application processor easier to maintain.
The cost of Linux in a regulated device is the amount of SOUP. The kernel, bootloader, libraries and every package in the image need identification, anomaly review and security monitoring, and the SBOM grows accordingly. The Linux Foundation’s ELISA project runs a medical devices working group on how to analyze Linux components in safety arguments. Our embedded Linux article covers board support, Yocto builds and updates.
How to qualify an RTOS for a medical device
- choose the kernel, version and configuration, and freeze them in configuration management;
- write the SOUP requirements, including timing, memory, interrupt latency and the services you use;
- collect the published bug and vulnerability lists for that version and record a decision for each item;
- analyze RTOS failure modes in your risk file, such as stack overflow, priority inversion, deadlock, heap exhaustion and missed deadlines;
- add mitigations in your design, such as a watchdog, stack monitoring, priority inheritance, static allocation and hardware interlocks independent of software;
- test under worst-case load with timing measurements, fault injection and long-duration runs;
- set up maintenance for the life of the device, with advisories monitored, patches assessed and the SBOM kept current.
These activities feed design verification; our verification and validation guide shows where software testing fits with the other test areas.
Mistakes teams make with an RTOS
| Mistake | What it costs | What to do instead |
|---|---|---|
| Treating a certified RTOS as done | Gaps in the SOUP file and the risk analysis | Use the certificate and safety manual as inputs; document your own use |
| Updating the kernel late in verification | Regression testing repeated, anomaly lists reviewed again | Freeze the version at design freeze; update under change control |
| Putting Class C control and the user interface on one processor | Every interface change reopens the Class C software | Segregate by processor or by a justified partition |
| Choosing by familiarity alone | A kernel without support for the device’s market life | Check support periods, certificates and stack maturity first |
| No update path | Vulnerabilities that cannot be fixed in the field | Signed, fail-safe updates designed in from the start |
What OVA does here, and where our responsibility ends
We design the electronics and firmware of medical devices on Zephyr, embedded Linux and the RTOS your platform calls for, choose the architecture and the RTOS with you, and write the software documentation IEC 62304 asks for, SOUP records included, under an ISO 13485:2016 certified quality system (certificate details). We do not sell RTOS licenses and do not certify software; certificates come from the RTOS vendor, and the regulatory submission stays with you or your regulatory consultant.
We agree a fixed price for the product before development starts. The first paid step is the Device-to-Market Blueprint: 4 to 6 weeks, $25,000 fixed, credited in full to development if you sign within 90 days.
Vendor certification claims are reported as published by each vendor on November 25, 2026. This page is engineering guidance, not a regulatory opinion.
Questions
How are RTOSes used in medicine?
They run the firmware of medical devices on microcontrollers: sampling sensors, closing control loops, driving motors and pumps, raising alarms and running Bluetooth, each as a task with a priority so the urgent work happens on time.
What is a medical RTOS?
Usually a standard RTOS used in a medical device and documented as SOUP under IEC 62304. Some vendors sell versions certified to IEC 62304 or IEC 61508 with a safety manual, which reduces the evidence the manufacturer has to build.
Can FreeRTOS be used in a medical device?
Yes. It is MIT licensed and widely used, and you document it as SOUP. Where you need vendor safety evidence, SAFERTOS is a separately developed, certified kernel based on the FreeRTOS functional model.
Is Zephyr suitable for medical devices?
Yes, as SOUP. Its safety certification work targets IEC 61508 SIL 3 and has no IEC 62304 target yet, so the medical manufacturer builds the evidence. We use it on a wearable controller for a neural implant.
Does FDA clear or certify an RTOS?
No. FDA does not clear or approve operating systems. It reviews the device, and the RTOS is documented in the submission as off-the-shelf software at the basic or enhanced level.
Is Linux used in medical devices?
Yes, mostly on application processors for displays, data and connectivity, while safety-critical control stays on a microcontroller with an RTOS. PREEMPT_RT has been in mainline Linux since version 6.12.
Which IEC 62304 class applies to RTOS-based software?
The class follows the harm the software could contribute to, not the RTOS. A ventilator’s control software is typically Class C; a step counter in a wellness band is outside IEC 62304 altogether.
Related pages
Sources
- FDA recognized consensus standards: IEC 62304, recognition number 13-79
- OpenRegulatory, SOUP list template with IEC 62304 clause mapping
- Johner Institute, IEC 62304 second edition (July 8, 2026)
- QuickBird Medical, IEC 62304 edition 2 status (September 10, 2026)
- FDA, Off-The-Shelf Software Use in Medical Devices, August 11, 2023
- Federal Register, Content of Premarket Submissions for Device Software Functions, June 14, 2023
- 21 U.S.C. 360n-2, section 524B of the FD&C Act
- FDA, Cybersecurity in Medical Devices guidance, June 27, 2025
- FreeRTOS, licensing
- FreeRTOS, long-term support libraries
- FreeRTOS partners, SAFERTOS
- Zephyr Project, safety FAQ
- Zephyr Project, releases
- Microsoft, Azure RTOS transition to open source (April 4, 2024)
- Eclipse Foundation, ThreadX safety certification (December 9, 2024)
- Eclipse ThreadX mailing list, certification of 6.4.1 (April 15, 2026)
- SEGGER, embOS-Safe
- QNX, OS for Safety
- QNX, medical devices
- Wind River, VxWorks Cert and IEC 62304 (September 25, 2019)
- Green Hills Software, INTEGRITY RTOS
- Weston Embedded, uC/OS-III repository
- Kernelnewbies, Linux 6.12
- ELISA project, working groups
- FDA 510(k) summary K251029
- OVA Solutions case study: portable ventilator built from ten boards
- OVA Solutions case study: wrist remote patient monitor with cuff blood pressure
More on this topic: Electronics, Firmware & Software