Zephyr (operating system)
Zephyr is a small real-time operating system for connected, resource-constrained and embedded devices supporting multiple architectures and released under the Apache License 2.0. Zephyr includes a kernel, and all components and libraries, device drivers, protocol stacks, file systems, and firmware updates, needed to develop full application software.
It is named after Zephyrus, the ancient Greek god of the west wind.
History
Zephyr originated from Virtuoso RTOS for digital signal processors. In 2001, Wind River Systems acquired Belgian software company Eonic Systems, the developer of Virtuoso. In November 2015, Wind River Systems renamed the operating system to Rocket, made it open-source and royalty-free. Compared to Wind River's other RTOS, VxWorks, Rocket had much smaller memory needs, especially suitable for sensors and single-function embedded devices. Rocket could fit into as little as 4 KB of memory, while VxWorks needed 200 KB or more.In February 2016, Rocket became a hosted collaborative project of the Linux Foundation under the name Zephyr. Wind River Systems contributed the Rocket kernel to Zephyr, but still provided Rocket to its clients, charging them for the cloud services. As a result, Rocket became "essentially the commercial version of Zephyr".
Since then, early members and supporters of Zephyr include Intel, NXP Semiconductors, Synopsys, Linaro, Texas Instruments, Nordic Semiconductor, Oticon, and Bose.
, Zephyr had the largest number of contributors and commits compared to other RTOSes.
Features
Zephyr intends to provide all components needed to develop resource-constrained and embedded or microcontroller-based applications. This includes:- A small kernel
- A flexible configuration and build system for compile-time definition of required resources and modules
- A set of protocol stacks
- A virtual file system interface with several flash file systems for non-volatile storage
- Management and device firmware update mechanisms
Configuration and build system
''West'' utility tool
Zephyr has a general-purpose tool called West for managing repositories, downloading programs to hardware, etc.Kernel
Early Zephyr kernels used a dual nanokernel plus microkernel design. In December 2016, with Zephyr 1.6, this changed to a monolithic kernel.The kernel offers several features that distinguish it from other small OSes:
- Single [address space operating system|Single address space]
- Multiple scheduling algorithms
- Highly configurable and modular for flexibility, with resources defined at compile-time
- Memory protection unit based protection
- Asymmetric multiprocessing and symmetric multiprocessing support
Security