Zephyr
Open source RTOS for embedded and IoT devices
Replaces —
Who it's for
Teams building firmware for IoT devices on ARM Cortex-M, RISC-V, or other constrained cores can use Zephyr's RTOS kernel services, networking stack, and driver model to build portable, maintainable firmware across hardware revisions.
You are building for Linux-capable hardware or need a full OS rather than an RTOS.
Engineers porting Zephyr to new custom hardware can follow the Board Porting Guide and SoC Porting Guide, using Devicetree to describe hardware topology and the existing driver model as a framework for new peripheral drivers.
Your target hardware already has an official Zephyr board entry in the 1,000+ supported boards catalogue.
Development teams can use Zephyr's bundled QEMU support to run firmware builds in emulation as part of automated CI pipelines, validating logic before physical boards are available or for regression testing.
Your hardware has no QEMU emulation target and all testing must be on-device.
Companies shipping commercial embedded products can leverage Zephyr's long-term support releases, security documentation, and functional safety guidance. The Product Showcase documents existing commercial deployments built on Zephyr.
The problem
Embedded and IoT developers working across diverse hardware platforms need a portable, well-supported RTOS that handles real-time scheduling, hardware abstraction, and driver infrastructure without requiring separate toolchains and build systems for each target architecture or board.
How it works
Zephyr's official board catalogue includes over 1,000 boards and shields, covering development kits and production modules from a wide range of silicon vendors. A Board Porting Guide and SoC Porting Guide are provided for bringing up unsupported hardware.
The Zephyr SDK ships ready-to-use toolchains for ARC, ARM (ARMv6/v7/v8), RISC-V, x86, MIPS, SPARC, Xtensa, Microblaze, OpenRISC 1000, and RX. All toolchains are bundled together, so a single SDK install covers every supported target.
The SDK includes OpenOCD for on-target debugging, QEMU and Xilinx QEMU for hardware emulation without physical boards, and BOSSA for flashing. These are provided as part of the SDK bundle rather than requiring separate installs.
Hardware is described using Devicetree bindings, and the build is configured through Kconfig, following conventions from the Linux kernel. This makes the configuration and hardware description layer familiar to developers with Linux kernel background.
West is Zephyr's built-in meta-tool for managing workspace repositories, building firmware, flashing targets, and running debugging sessions. It handles the multi-repository structure that Zephyr's modular project layout requires.
Dedicated documentation sections cover security hardening, functional safety considerations, and long-term support releases. A Product Showcase documents commercial products shipping on Zephyr, reflecting its use in production deployments.
Features
- 1,000+ Supported Boards
- Multi-Architecture Toolchains
- Bundled Debug and Emulation Tools
- Devicetree and Kconfig
- West Multi-Repo Build Tool
- Security, Safety, and LTS
How to install
# Install the Zephyr SDK (Linux x86-64 example) wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64.tar.xz tar xf zephyr-sdk-0.17.0_linux-x86_64.tar.xz cd zephyr-sdk-0.17.0 ./setup.sh # Install West and initialise a Zephyr workspace pip install west west init ~/zephyrproject cd ~/zephyrproject west update
Recommended for this setup
Strengths
- Broad Hardware Coverage Out of the Box: With over 1,000 supported boards and toolchains for more than ten architectures bundled in a single SDK, Zephyr reduces the per-target setup burden significantly compared to assembling separate vendor toolchains and BSPs.
- Linux Foundation Governance and Community: Zephyr is hosted under the Linux Foundation and is community-driven, with a structured contribution process including bug reporting, feature requests, and pull requests. This provides a stable governance structure for long-term adoption.
- Integrated Emulation for Development Without Hardware: QEMU support is bundled directly in the SDK, enabling developers to build and test firmware in emulation before hardware is available. This speeds up early development and CI testing cycles.
- Familiar Kernel-Style Configuration: Using Devicetree and Kconfig mirrors the Linux kernel development model, lowering the learning curve for teams coming from Linux embedded backgrounds and providing well-understood tooling for hardware description and feature selection.
Trade-offs
- Substantial SDK Download Size: The Zephyr SDK bundles toolchains for all supported architectures together. Developers targeting only one architecture must still download the full bundle or select individual toolchain tarballs, which can be large.
- Steep Initial Learning Curve: Zephyr's use of Devicetree, Kconfig, West, and CMake together means new developers face several distinct systems before writing application code. Teams without prior embedded Linux experience may need time to get oriented.
- Not Suited for High-Level Application Development: Zephyr is a low-level RTOS for constrained microcontrollers and embedded targets. It is not appropriate for projects that require a full operating system, rich standard library, or application-level abstractions typically found on Linux.
Tech stack
FAQ
The Zephyr SDK ships toolchains for ARC (ARCv1/v2/v3, 32 and 64-bit), ARM (ARMv6/v7/v8, A/R/M profiles, 32 and 64-bit), Microblaze, MIPS (32 and 64-bit), OpenRISC 1000, RISC-V (RV32I, RV32E, RV64I), RX, SPARC (32 and 64-bit), x86 (32 and 64-bit), and Xtensa.
SDK bundles are released for Linux (AArch64 and x86-64), macOS (AArch64), and Windows (x86-64).
Yes. The Zephyr SDK bundles QEMU and Xilinx QEMU, allowing firmware to be built and run in emulation on your development machine without a physical board.
Zephyr provides a Board Porting Guide and an SoC Porting Guide in its documentation. Hardware is described using Devicetree bindings, and the Device Driver Model provides the framework for adding peripheral drivers.
Yes. Zephyr provides long-term support (LTS) releases, dedicated security and functional safety documentation, and a Product Showcase of commercial products built on the RTOS. The Linux Foundation's governance provides a stable foundation for long-term adoption.