Skip to main content

What is Zephyr?

Zephyr Project logo

Zephyr is a free, open-source RTOS built for embedded devices — from tiny sensors with 32 KB of flash all the way to connected products with displays, cameras, and wireless stacks.

It's backed by the Linux Foundation and used in real products by companies like Intel, Nordic Semiconductor, NXP, and Espressif.

Think of it as Linux for microcontrollers — but actually designed to fit there.



Why does it exist?

Every chip vendor used to ship their own SDK. Nordic had one. NXP had another. STM had theirs. None of them talked to each other. Porting firmware between chips meant rewriting everything.

Zephyr is the answer to that mess.

One RTOS. One driver model. One build system. Write your sensor driver once, run it on an ESP32, an nRF52, a STM32, or a RISC-V board — without changing the code.



What it runs on

Zephyr supports pretty much every MCU architecture that matters:

ArchitectureExamples
ARM Cortex-M (M0, M3, M4, M33, M55)Most embedded devices
Xtensa LX6 / LX7ESP32 family
RISC-VESP32-C3, C6, H2 — and growing fast
ARM Cortex-ABigger chips, Linux-class processors
x86Yes, it runs on x86 too

Over 1,000 boards supported out of the box. If your chip exists, there's a good chance Zephyr already knows about it.



What it gives you

Instead of writing your own I2C driver from scratch, Zephyr gives you a complete, production-ready stack:

FeatureWhat it means
DevicetreeDescribe your hardware in a text file — the OS maps it to drivers
KconfigEnable only what you need; nothing extra gets compiled in
Driver modelSame API for every sensor, every bus, on every chip
BLE 5.0Full Bluetooth stack built in
NetworkingTCP/IP, LwM2M, MQTT, CoAP — take your pick
RTOS primitivesThreads, semaphores, message queues
MCUbootSecure bootloader and OTA updates

All of it open source. Apache 2.0 license. No royalties, no vendor lock-in.



Who uses it

Already used Zephyr without knowing it?

If you've ever used the nRF Connect SDK, you were already running Zephyr. Nordic built their entire SDK on top of it. Golioth's device SDK also targets Zephyr, and dozens of industrial IoT platforms ship firmware built on it.



The one catch

Devicetree, Kconfig, and west are all unfamiliar when you come from Arduino or bare metal. The learning curve is real — but once it clicks, you won't go back.

I've been through it. This training is what I wish I had when I started.