14 Popular Real-Time Operating Systems (RTOS) Compared: Features & Use Cases
This article introduces fourteen mainstream RTOS—including μClinux, μC/OS-II, eCos, FreeRTOS, mbed OS, RTX, VxWorks, QNX, NuttX, djyos, AliOS Things, Huawei LiteOS, RT-Thread, and SylixOS—detailing their characteristics, hardware requirements, strengths, and typical application scenarios for embedded development.
Below is an overview of fourteen widely used embedded real‑time operating systems (RTOS) that meet real‑time control requirements, covering both international and Chinese solutions.
1、 μClinux
μClinux is a lightweight embedded Linux variant (micro‑control Linux) designed for processors without an MMU. It retains core Linux features such as stability, portability, networking, file‑system support, and a rich API, but lacks kernel pre‑emption and offers modest real‑time performance. Typical resource requirements are at least 512 KB RAM and 1 MB ROM/Flash, making it suitable for file‑system‑heavy or network‑centric projects on low‑end CPUs.
2、 μC/OS-II
μC/OS-II is a compact, pre‑emptive, C‑language RTOS kernel that can manage up to 64 tasks. It provides task scheduling, memory management, inter‑task communication, timing, and interrupt services. The kernel can be trimmed to as little as 2 KB code and 4 KB RAM, making it easy to port to CPUs without an MMU, such as STM32F103.
3、 eCos
eCos (embedded Configurable Operating System) is an open‑source, highly configurable RTOS. Its modular design lets developers include only needed components (kernel, C library, device drivers, etc.). The trimmed kernel can be as small as 10 KB with 10 KB RAM. It supports a wide range of CPUs, including 16‑, 32‑, and 64‑bit architectures, and offers strong portability and flexibility.
4、 FreeRTOS
FreeRTOS is a free, open‑source RTOS kernel widely used on microcontrollers with limited RAM. It offers task management, timing, semaphores, queues, memory handling, and optional trace facilities. The kernel supports priority‑based pre‑emptive scheduling and round‑robin sharing for equal‑priority tasks. Its limitations include a minimal set of services (no built‑in file system or TCP/IP stack), requiring third‑party extensions for complex applications.
5、 mbed OS
mbed OS is an open‑source embedded OS provided by ARM. It supplies a comprehensive IoT development platform, offering connectivity standards, device management, secure over‑the‑air updates, and power‑management features. It emphasizes rapid development, strong security, and offline or web‑based coding options.
6、 RTX
RTX, from ARM, is a C‑based real‑time kernel compiled with the RealView compiler. It includes a rich middleware layer, supports pre‑emptive and cooperative scheduling, up to 254 priority levels, unlimited tasks, semaphores, mailboxes, and soft timers. Configuration is aided by an MDK‑based wizard.
7、 VxWorks
VxWorks, developed by Wind River since 1983, is a commercial RTOS known for hard real‑time performance, determinism, and scalability across aerospace, defense, automotive, medical, and consumer electronics. It provides predictable task synchronization, inter‑task communication, memory management, and real‑time clock/interrupt services.
8、 QNX
QNX, originating in 1980, is a commercial POSIX‑compliant Unix‑like RTOS. Its microkernel provides only four core services (process scheduling, IPC, networking, interrupt handling), keeping the kernel size around 12 KB while delivering fast execution.
9、 NuttX
NuttX is an open‑source BSD‑licensed RTOS first released in 2007. It can be built as a flat RTOS or a microkernel with system‑call interfaces, supports priority inheritance, BSD sockets, and optional address‑space tasks. It is highly modular and portable across many CPU and SoC architectures.
10、 djyos (Dujiangyan OS)
djyos is a Chinese RTOS that uses an event‑driven scheduler instead of threads, aiming to simplify programming by removing thread‑related APIs. It targets developers unfamiliar with threading concepts and emphasizes a more intuitive, event‑centric programming model.
11、 AliOS Things
AliOS Things is Alibaba’s IoT‑focused RTOS, offering cloud integration, high scalability, security features, and support for Alibaba Cloud Link. It targets smart home, smart city, and new‑mobility applications.
12、 Huawei LiteOS
Huawei LiteOS is a lightweight IoT RTOS from Huawei, emphasizing low power consumption, fast boot, connectivity, and security. It provides a one‑stop software platform to reduce development effort and shorten time‑to‑market.
13、 RT-Thread
RT-Thread combines an RTOS kernel, middleware components, and a large open‑source community. It offers GUI, network stacks, security, low‑power modules, and has been deployed in energy, automotive, medical, and consumer electronics, with over 20 million devices installed.
14、 SylixOS
SylixOS is a cross‑platform, open‑source RTOS launched in 2006. It complies with POSIX, has been used in aerospace, defense, rail transit, smart grid, and industrial automation. The project maintains an active community and provides extensive porting support.
Reference website: http://www.sylixos.com/ Other RTOS exist beyond this list; contributions are welcome.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Liangxu Linux
Liangxu, a self‑taught IT professional now working as a Linux development engineer at a Fortune 500 multinational, shares extensive Linux knowledge—fundamentals, applications, tools, plus Git, databases, Raspberry Pi, etc. (Reply “Linux” to receive essential resources.)
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
