Zephyr

CHERI-enabled Zephyr brings capability protection to a widely used embedded operating-system ecosystem while platform and feature coverage continue to expand.

Zephyr has an established embedded codebase, driver model, build system, and board ecosystem. CHERI-enabled Zephyr explores how capability memory protection can be introduced while retaining those interfaces and development practices.

Operating-system integration

Protected capability state reaches thread creation and context switching, stacks, memory domains, user-mode transitions, interrupts, exceptions, object interfaces, drivers, compiler configuration, linking, and fault reporting.

The port therefore spans the architecture layer and the operating-system services that move or interpret pointers.

Current project structure

Development takes place in a CHERI Alliance repository and is coordinated through the CHERI Zephyr Working Group. The repository carries active source, platform configurations, samples, tests, and contribution history.

This remains an active port rather than a feature present across every mainline Zephyr release and board. Architecture targets, boards, drivers, kernel configurations, and test coverage develop at different rates.

Zephyr and CHERIoT

Both address embedded systems, but they start from different software models.

  CHERI-enabled Zephyr CHERIoT
Foundation The Zephyr RTOS ecosystem A hardware-software design built around CHERI
Existing interfaces Zephyr APIs, drivers, Kconfig, west, and board support CHERIoT SDK, RTOS, compartments, and xmake build system
Compartment model Defined by the evolving CHERI Zephyr integration Central to the platform architecture
Main attraction Continuity with Zephyr software and devices A security-first embedded model designed around capabilities

The distinction is architectural rather than a simple maturity ranking. Each route serves a different relationship with existing software, devices, and platform suppliers.

Where next

Real-Time Operating Systems

CHERI work spans several real-time operating systems and embedded software models.

Continue