Tprrt's Blog

Embedded Linux, Zephyr RTOS, open-source hardware, Linux gaming, retro gaming, and competitive fitness

Jun 22, 2026

Zephyr RTOS Digest — Week 26, 2026

Zephyr RTOS Ecosystem Expansion

The Zephyr RTOS continues to grow its ecosystem with exciting new partnerships and memberships that bolster its development capabilities. The announcement of new Platinum and Silver members signifies a strong commitment to enhancing the platform.

Zephyr RTOS Dominance in Embedded Systems

Zephyr RTOS is positioning itself as a leading choice for embedded systems, with various advantages that highlight its potential to dominate the market. This topic discusses the reasons behind its rising popularity and the features that make it a compelling choice for developers.

Community and Upcoming Events

The Zephyr Project community is actively engaged, with meetups and podcasts exploring recent advancements and future directions. These gatherings offer developers a platform to connect and discuss innovations related to Zephyr.

Core References and Guides

The official Zephyr Project website continues to be an essential resource for developers looking to build secure and connected devices using the RTOS. It offers comprehensive documentation and getting started guides.

posted at 09:52  · 1 min read  ·   ·  zephyr  rtos  embedded  digest

Jun 15, 2026

Zephyr RTOS Digest — Week 25, 2026

Zephyr RTOS

The Zephyr RTOS ecosystem continues to grow and innovate with new releases, partnerships, and resources for developers. This digest highlights the latest articles focusing on recent features, ecosystem expansions, educational opportunities, and community engagements.

New Features and Releases

Zephyr RTOS 4.1 has introduced a range of enhancements, making it more competitive in the embedded systems landscape. The release and its implications for developers are well covered in the following articles:

Ecosystem Expansions

The Zephyr ecosystem is rapidly expanding with significant partnerships and new member announcements. This section highlights the latest developments in community and partnership growth for Zephyr RTOS:

Training and Community Engagement

Educational initiatives and community interactions are key aspects of the Zephyr Project, aimed at empowering developers and users. The following articles provide insights into upcoming training sessions and community events:

Innovative Hardware Integration

Innovative hardware developments continue to enhance the capabilities of Zephyr RTOS, particularly in microcontroller applications. The following article addresses new hardware that supports Zephyr:

This digest encapsulates the vibrant developments within the Zephyr RTOS community and highlights resources for both potential and seasoned developers within the ecosystem.

posted at 07:44  · 2 min read  ·   ·  zephyr  rtos  embedded  digest

Jun 06, 2026

Zephyr RTOS Digest — Week 23, 2026

Zephyr RTOS Updates

The Zephyr RTOS community continues to grow and evolve, evidenced by new memberships and collaborative initiatives that enhance the platform's capabilities and ecosystem. This section highlights significant developments and insights regarding Zephyr RTOS's expansion and its relevance in the embedded systems landscape.

  • Zephyr RTOS Expands Ecosystem with Renesas and Wind River Upgrading to Platinum Membership and New Silver Members Blecon and Embeint: Zephyr Project seeks to strengthen its ecosystem through new high-profile membership upgrades and additions. Read more in the article: Zephyr RTOS Expands Ecosystem.
  • Why Zephyr RTOS Is Suddenly Everywhere in Embedded Conversations: This article discusses the rising prominence of Zephyr in embedded systems, attributing it to modern demands for connected, secure, and updatable devices. Read the full insights here: Why Zephyr RTOS Is Suddenly Everywhere.
  • The Year of the Zephyr Router — Zephyr Podcast #038: The latest podcast dives into upcoming trends and features that highlight Zephyr's adaptability, potentially making it a leading platform for router technology. Check it out: The Year of the Zephyr Router.
  • Zephyr Insights: Pay as you Config: A recent post from the Zephyr Project discusses new configuration strategies aimed at enhancing user experience and operational efficiency. Read more: Zephyr Insights: Pay as you Config.
  • What to Expect at the Zephyr Project Meetup (June 11, 2026): A preview of an upcoming event highlighting contributions and collaborations within the Zephyr community. Find out the details: What to Expect at the Zephyr Project Meetup.

Innovative Applications and Integrations

As the Zephyr RTOS continues to cement its position in the embedded systems domain, several innovative applications and integrations are being explored. This section outlines how Zephyr is being combined with new technologies to push the boundaries of what's possible in embedded development.

  • Docker for Microcontrollers? AkiraOS combines Zephyr RTOS with WebAssembly (WASM) applications: This article explores how AkiraOS merges Zephyr with WebAssembly, paving the way for enhanced microcontroller functionality. Curious about the integration? Read the full article: Docker for Microcontrollers?.

Historical Context and Evolution

Understanding the historical context of Zephyr RTOS provides valuable insight into its current utility and design philosophy. This section summarizes the journey of Zephyr from its inception to its status as a prominent RTOS choice today.

  • A Brief History of Zephyr RTOS: This article chronicles the evolution of Zephyr RTOS, highlighting its origins in earlier commercial systems and its development into an open-source powerhouse. For a deep dive into its history, click here: A Brief History of Zephyr RTOS.
posted at 17:14  · 2 min read  ·   ·  zephyr  rtos  embedded  digest

May 24, 2026

Zephyr RTOS Digest — Week 21, 2026

Zephyr RTOS Overview

The Zephyr Real-Time Operating System (RTOS) continues to innovate and expand its presence in the embedded system industry. Several recent articles provide valuable insights into its latest developments, community growth, and future potential.

New Releases and Features The release of Zephyr RTOS 4.1 marks a significant update, packed with new features and improvements. This release has generated interest among developers and enthusiasts alike. - Zephyr RTOS 4.1: What's New?

Ecosystem Expansion The Zephyr ecosystem is growing, with notable companies upgrading their memberships and joining the community. This expansion signifies increased industrial interest and collaboration. - Zephyr RTOS Expands Ecosystem with Renesas and Wind River Upgrading to Platinum Membership and New Silver Members Blecon and Embeint

Market Potential An analysis of the projected dominance of Zephyr RTOS in the embedded systems market highlights the unique advantages it offers, showcasing its potential to reshape the industry landscape. - 5 Reasons Why Zephyr RTOS Will Rule the World

Community Engagement and Collaboration Recent meetups and discussions reflect the active community surrounding Zephyr, fostering collaboration and shared knowledge among developers and organizations utilizing RTOS. - Recap – Zephyr Project meetup (March 26, 2026): Rennes, France - How Organizations Choose and Deploy RTOS

posted at 17:24  · 1 min read  ·   ·  zephyr  rtos  embedded  digest

May 15, 2026

Zephyr RTOS Digest — Week 20, 2026

Zephyr RTOS Developments

In recent news, the Zephyr Project continues to foster growth and community engagement, showcasing its significance in the open-source RTOS ecosystem. New collaborations and events are helping Zephyr solidify its presence in the field of IoT and embedded systems.

Zephyr RTOS Applications

The versatility of Zephyr RTOS is highlighted in its applications for edge IoT products and numerous ongoing projects in the embedded systems market. This positioning reflects its growing adoption and the innovative solutions it fosters among developers.

Hardware Integration

In addition to software announcements, there are intriguing hardware developments that reflect Zephyr's ability to integrate with various platforms and devices. Notable releases showcase the evolution of smart devices and development kits leveraging the Zephyr ecosystem.

posted at 16:13  · 1 min read  ·   ·  zephyr  rtos  embedded  digest

May 08, 2026

Zephyr RTOS Digest — Week 19, 2026

Zephyr RTOS Overview

The Zephyr Real-Time Operating System (RTOS) is gaining traction in the embedded systems community, providing a lightweight, scalable platform suitable for a range of devices. Recent developments reflect its rapid adoption, community engagement, and ongoing improvements. Below are notable updates organized by sub-themes.

Zephyr Project Documentation and Resources

The Zephyr Project continues to enhance its documentation and resources, enabling developers to effectively work with the RTOS. The documentation highlights various features, integration capabilities, and specific hardware support.

Community Engagement and Support

The Zephyr community is expanding, with increased corporate membership and educational efforts aimed at supporting developers. Training courses and events foster collaboration and skill development.

Ecosystem Growth

There's a noticeable growth in the Zephyr ecosystem, with companies upgrading their memberships and new partnerships being announced. This expansion reflects confidence in Zephyr's capabilities and promises more resources for developers.

Technological Advancements

Enhancements in networking capabilities and the integration of various technologies highlight Zephyr's adaptability to modern requirements. These upgrades are critical for developers aiming for cutting-edge solutions.

posted at 13:25  · 2 min read  ·   ·  zephyr  rtos  embedded  digest

Jul 29, 2022

Zephyr Device Tree Guide

Introduction

The goal of the Zephyr project, hosted by the Linux foundation, since 2016, is to provide a safe and secured real time operating system (RTOS) for connected devices that are too small for Linux, or for core companion, through the Apache 2.0 open source license.

It is designed for resource-constrained devices such as microcontrollers and Internet of Things (IoT) devices, to be modular and scalable. This makes it ideal for a wide range of devices, from simple sensors to complex systems. The operating system is written in C and is fully compatible with the C11 and C++17 standards.

One of the key benefits of the Zephyr device model is its small footprint, it can be configured to run on devices with as little as 10 KB of memory.

It supports multiple 32 bits and 64 bits architectures: Cortex-A, Cortex-M, Cortex-R, RISC-V, x86-64, etc. But it also support several boards and extensions: Feather, nRF52840, ST Discovery, ST Nucleo, ESP-32, etc. It is able to manage several kinds of connectivity: Bluetooth, ethernet, wifi, LoRa. And it support some network protocols: IPv4, IPv6,UDP, TCP, CoAP, LWM2M, MQTT, DNS, etc.

As Linux, Zephyr use Kconfig, and its device model is mainly based on device tree.

Device tree

Device trees are tree data structures that describe the hardware components and their relationships in a system. They are stored in a text file, named device tree sources (*.dts), and they written by developers to describe hardware architectures of SoCs and boards. And they are used by the operating system to determine how to initialize and interact with the hardware.

Each node describe a device of the system, has its own properties that describe their characteristics, and they have only one parent (except for the root node).

Each device driver is associated with a specific device tree node, which represents a hardware component in the system. The device driver provides the necessary code and data to control the behavior of the hardware component.

test_i2c_bme280: bme280@6 {
        compatible = "bosch,bme280";
        reg = <0x6>;
};

In the Linux kernel, device tree sources are compiled to device tree binaries (dtb) that are parsed, at boot, by bootloader stages (U-Boot, TF-A...) and the kernel to allow support several hardware configuration with same binaries.

But in Zephyr, device tree sources are transformed to a "devicetree_generated.h" C header file at build, that contains macro definitions and data structures allowing device drivers to access information about the hardware components in the system, such as the memory mapping of a device, its pin assignments, and its IRQ numbers:

#define DT_COMPAT_HAS_OKAY_bosch_bme280 1
#define DT_N_INST_bosch_bme280_NUM_OKAY 1
#define DT_FOREACH_OKAY_bosch_bme280(fn) fn(DT_N_S_soc_S_i2c_40005400_S_bme280_77)
#define DT_FOREACH_OKAY_VARGS_bosch_bme280(fn, ...) fn(DT_N_S_soc_S_i2c_40005400_S_bme280_77, __VA_ARGS__)
#define DT_FOREACH_OKAY_INST_bosch_bme280(fn) fn(0)
#define DT_FOREACH_OKAY_INST_VARGS_bosch_bme280(fn, ...) fn(0, __VA_ARGS__)
#define DT_COMPAT_bosch_bme280_BUS_i2c 1

Where:

  • DT_COMPAT_HAS_OKAY_bosch_bme280: indicates that there is at least one instance of BME280
  • DT_N_INST_bosch_bme280_NUM_OKAY: defines the number of BME280 instances that are marked okay
  • DT_FOREACH_OKAY_bosch_bme280: allows you to apply a function fn to each instance of the BME280
  • DT_FOREACH_OKAY_VARGS_bosch_bme280: also allows you to apply a function fn to each instance of the BME280, but with additional arguments
  • DT_FOREACH_OKAY_INST_bosch_bme280: allows you to apply a function fn to each instance of the BME280, passing the instance number as an argument
  • DT_FOREACH_OKAY_INST_VARGS_bosch_bme280: is similar to the previous macro, but this one allows for additional arguments
  • DT_COMPAT_bosch_bme280_BUS_i2c: indicates that the BME280 device is connected to an I2C bus.
  • DT_N_S_soc_S_i2c_40005400_S_bme280_77: refers to a specific node in the device tree, here it refers to the BME280 sensor connected to the I2C controller with the base address 0x40005400 within the SoC. The sensor's address on this I2C bus is 0x77.

In addition, device tree sources can be extended or overridden, for example to connect additional devices to a board, or to disable board devices which will not be used:

/ {
        aliases {
                bme280 = &bme280;
        };
};

&spi1 {
        status = "disabled";
};

&i2c1 {
        status = "okay";
        bme280: bme280@77 {
                compatible = "bosch,bme280";
                reg = <0x77>;
        };
};

Binding

Content of device tree sources is described in binding files, that are written in human readable and easy to parse YAML. Binding files can be also used to validate device tree sources by comparing the information in the YAML file with the information in the device tree sources.

description: BME280 integrated environmental sensor

compatible: "bosch,bme280"

include: [sensor-device.yaml, i2c-device.yaml]

Device driver

In Zephyr, a device driver can access the properties of an associated node in the device tree using the macro that are defined in C header files. For example, the following code can be used to initialize a BME280 sensor using properties defined in the device tree:

#include <device.h>
#include <drivers/i2c.h>
#include <devicetree.h>
#include <zephyr.h>

// Define the node identifier for the BME280 sensor
#define BME280_NODE DT_N_S_soc_S_i2c_40005400_S_bme280_77

// Function to initialize the BME280 sensor
static int bme280_init(const struct device *dev)
{
    // Check if the node is available
    if (!device_is_ready(dev)) {
        printk("Device %s is not ready\n", dev->name);
        return -ENODEV;
    }

    // Retrieve the I2C device associated with the BME280 node
    const struct device *i2c_dev = DEVICE_DT_GET(DT_BUS(BME280_NODE));

    if (!device_is_ready(i2c_dev)) {
        printk("I2C device not ready\n");
        return -ENODEV;
    }

    // Write some initialization code here, such as configuring registers

    printk("BME280 sensor initialized\n");
    return 0;
}

// Initialize the BME280 sensor at boot time
SYS_INIT(bme280_init, APPLICATION, CONFIG_APPLICATION_INIT_PRIORITY);

Conclusion

Those who have already implemented BSP or driver on Linux shouldn't encounter too much difficulty, but on the other hand, the step is a little higher for people coming from the world of micro-controllers.

posted at 20:32  · 5 min read  ·   ·  zephyr  device-tree  rtos  embedded  article