Arduino launches the beta of its integrated cores with Zephyr OS

  • Arduino takes a step into the future adopting Zephyr OS as a replacement for Mbed OS.
  • Zephyr OS powers Arduino with advanced features like multitasking and real-time scheduling.
  • The beta is now available, allowing developers to test and optimize their projects on a modern platform.
  • Smooth transition: Users can continue to enjoy the simplicity of Arduino with greater capabilities under the hood.

Arduino Cores Zephyr OS Beta

Arduino has taken a giant leap forward by releasing the beta of its Zephyr OS-based cores, marking the beginning of a new era for embedded development. This change comes in response to ARM’s decision to discontinue Mbed OS, the real-time operating system that had until now been key to many Arduino boards.

This movement not only guarantees the continuity of the support, but offers developers a more advanced, modern and scalable platformZephyr OS, an open source real-time operating system, is characterized by its modularity and ability to support multiple hardware architectures.

What is Zephyr OS and why is it important?

Zephyr OS is a next-generation RTOS designed for low-power, resource-constrained devices. Its modular design, coupled with features such as real-time scheduling and inter-process communication, makes it a perfect tool for advanced projects. In addition, its large open source community ensures a constant innovation and support.

Arduino, when integrating Zephyr OS, offers benefits such as:

  • Greater efficiency: faster compile times and smaller binaries.
  • Flexibility: possibility to customize and scale according to the needs of the project.
  • Advanced Integration: support for features such as multitasking and real-time scheduling.

Key Features of the Arduino Core with Zephyr OS

Integrating Zephyr OS into Arduino Cores It does not imply drastic changes in the user experience, but it does bring significant improvements to the internal workings. Some of the key new features include:

  • Dynamic loading of sketches: Sketches are now compiled as ELF files and dynamically loaded on top of a precompiled Zephyr-based firmware.
  • Zephyr Subsystem Capabilities: support for threading, interprocess communication, and real-time scheduling.
  • Compilation efficiency: Only a thin layer of code and user libraries are compiled, while Zephyr OS remains static, significantly reducing compilation time.

Zephyr OS in Action

How to get started?

Developers interested in trying out this new integration can find the cores along with detailed instructions in the official Arduino repository on GitHub. Installation is simple and guided., allowing a smooth transition to this new platform.

The first step involves adding the appropriate URL to the Arduino IDE's board manager and Install the “Arduino Zephyr Boards” optionOnce configured, users can compile and run sketches like Blink with the enhancements that Zephyr offers.

Which boards are compatible?

In this beta stage, The list of compatible plates includes:

  • Arduino Portenta H7
  • Arduino GIGA R1
  • Arduino Nano 33 BLE
  • Renesas and NXP development boards

For those who do not yet own these boards, it is possible to explore how the system works by compiling sketches without the need for physical hardware.

Development with Arduino and Zephyr

Contribute and help improve

Arduino invites its entire community to actively participate in this beta. Developers can report bugs, suggest features, and contribute code via GitHub. It is a unique opportunity to directly influence the future of embedded projects.

This integration is still in its early stages, but the possibilities it opens up are immense. Not only does it ensure continued support for current Arduino boards, but it also lays the foundation for more robust and advanced projects in the future.

Arduino and Zephyr OS are marking the beginning of a powerful collaboration, and this beta promises to be the start of a new era for technology enthusiasts and professionals.