Content deleted Content added
Introiboad (talk | contribs) No edit summary |
m removed weasel words Tags: Visual edit Mobile edit Mobile web edit Advanced mobile edit |
||
(138 intermediate revisions by 50 users not shown) | |||
Line 1:
{{Short description|Real-time operating system}}
{{Infobox OS
| name
| logo = Zephyr RTOS logo 2015.svg
| logo size
| logo caption = Zephyr Project
| logo alt
| screenshot
| screenshot size
| screenshot alt
| caption
| developer
| family
| working state
| source model
| released
| latest release version = 4.2.0
| latest release date = {{Start date and age|2025|07|19|df=yes}}<ref>{{cite web |url= https://github.com/zephyrproject-rtos/zephyr/releases/tag/v4.2.0 |title= Zephyr v4.2.0|website= [[GitHub]]}}</ref><ref>{{cite web |url=https://www.zephyrproject.org/zephyr-rtos-4-2-now-available-introduces-renesas-rx-support-usb-video-class-and-more|title= Zephyr RTOS 4.2 Now Available|website= [[Zephyr blog]]}}</ref>
| marketing target = [[Internet of things]], [[embedded system]]s
| programmed in = [[C (programming language)|C]]
| language = English
| update model = <!-- APT, Windows Update, etc. -->
| package manager = <!-- dpkg, rpm, Windows installer, etc. -->
| supported platforms = [[ARM architecture|ARM]] ([[Cortex-M]], [[ARM Cortex-R|Cortex-R]], [[Cortex-A]]), [[ARC (processor)|ARC]], [[MIPS architecture|MIPS]], [[Nios II]], [[RISC-V]], [[Tensilica|Xtensa]], [[SPARC]], [[x86]], [[x86-64]]
| kernel type = [[Microkernel]] (pre-v1.6)<ref name="NanoMicrokernel"/><ref name="Monolithic1"/><ref name="Monolithic2"/><br />[[Monolithic kernel|Monolithic]] (v1.6+)<ref name="Monolithic1"/><ref name="Monolithic2"/>
| userland =
| ui =
| license = [[Apache License|Apache 2.0]]
| preceded by = Wind River Rocket
|
| other articles =
}}
'''Zephyr''' ({{IPAc-en|ˈ|z|ɛ|f|_|ə|r}}) is a small [[real-time operating system]] (RTOS)<ref>{{Cite news|url=http://linuxgizmos.com/zephyr-a-tiny-open-source-iot-rtos/|title=Meet Linux's little brother: Zephyr, a tiny open-source IoT RTOS|date=2016-02-17|work=LinuxGizmos.com|access-date=2018-02-23|language=en-US}}</ref> for connected, resource-constrained and [[embedded device]]s (with an emphasis on [[microcontroller]]s) supporting multiple architectures and released under the [[Apache License]] 2.0. Zephyr includes a [[Kernel (operating system)|kernel]], and all components and [[Library (computing)|libraries]], [[device driver]]s, [[protocol stack]]s, [[file system]]s, and [[firmware update]]s, needed to develop full [[application software]].<ref name="docs.zephyrproject.org">{{Cite web |url=https://docs.zephyrproject.org/latest/introduction/ |title=Zephyr Project documentation: Introduction |language=en}}</ref>
It is named after [[Zephyrus]], the ancient Greek god of the west wind.<ref>{{Cite web|url=https://docs.zephyrproject.org/latest/develop/west/index.html#west-name|title=West (Zephyr's meta-tool) — Zephyr Project Documentation|website=docs.zephyrproject.org}}</ref>
==
In February 2016,
Since then, early members and supporters of Zephyr include [[Intel]], [[NXP Semiconductors]], [[Synopsys]], [[Linaro]],<ref>{{Cite
{{As of|2025|01}}, Zephyr had the largest number of contributors and commits compared to other RTOSes (including [[Mbed]], [[RT-Thread]], [[NuttX]], and [[RIOT (operating system)|RIOT]]).<ref>{{Cite web |url=https://github.com/zephyrproject-rtos/zephyr |title=Zephyr GitHub page |website=[[GitHub]] |date=January 30, 2025}}</ref>
==Features==
Zephyr intends to provide all components needed to develop resource-constrained and embedded or microcontroller-based applications. This includes:<ref name="docs.zephyrproject.org"/>
* A small kernel
* A flexible configuration and build system for compile-time definition of required resources and modules
* A set of protocol stacks ([[IPv4]] and [[IPv6]], [[Constrained Application Protocol]] (CoAP), [[OMA LWM2M|LwM2M]], [[MQTT]], [[802.15.4]], [[Thread (network protocol)|Thread]], [[Bluetooth Low Energy]], [[CAN bus|CAN]])
* A virtual file system interface with several flash file systems for non-volatile storage ([[FatFs]], LittleFS, NVS)
* Management and device [[firmware update]] mechanisms
===Configuration and build system===
Zephyr uses [[Kconfig]] and [[devicetree]] as its configuration systems, inherited from the [[Linux kernel]], but implemented in [[Python (programming language)|Python]] programming language for portability to non-[[Unix]] operating systems.<ref>{{Cite web |url=https://github.com/zephyrproject-rtos/zephyr/tree/master/scripts |title=scripts/ folder |website=[[GitHub]] |date=12 May 2020}}</ref> The RTOS build system is based on [[CMake]], which allows Zephyr applications to be built on [[Linux]], [[macOS]], and [[Microsoft Windows]].<ref>{{Cite web |url=https://docs.zephyrproject.org/latest/application/ |title=Application Development: Zephyr Project Documentation |website=Zephyr Project}}</ref>
===''West'' utility tool===
Zephyr has a general-purpose tool called ''West'' for managing repositories, downloading programs to hardware, etc.
===
Early Zephyr kernels used a dual [[Microkernel|nanokernel plus microkernel]] design.<ref name="NanoMicrokernel">{{Cite web |last=Wasserman |first=Shawn |date=February 22, 2016 |url=https://mobile.engineering.com/amp/11530.html |title=How Linux's IoT Zephyr Operating System Works |website=Engineering.com}}</ref><ref name="Monolithic1">{{Cite web |last=Helm |first=Maureen |date=December 15, 2016 |url=https://www.zephyrproject.org/announcing-zephyr-os-v1-6-0/ |title=Announcing Zephyr OS v1.6.0 |website=Zephyr Project}}</ref><ref name="Monolithic2">{{Cite web |last=Wong |first=William G. |date=July 6, 2017 |url=https://www.electronicdesign.com/technologies/embedded-revolution/article/21805266/zephyr-a-wearable-operating-system |title=Zephyr: A Wearable Operating System |website=[[Electronic Design]]}}</ref> In December 2016, with Zephyr 1.6, this changed to a [[monolithic kernel]].<ref name="Monolithic1"/><ref name="Monolithic2"/>
The kernel offers several features that distinguish it from other small OSes:<ref name="docs.zephyrproject.org"/>
* [[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]] (MPU) based protection
* [[Asymmetric multiprocessing]] (AMP, based on OpenAMP) and [[symmetric multiprocessing]] (SMP) support
===Security===
A group is dedicated to maintaining and improving the security.<ref>{{Cite news |last=Wallen |first=Jack |date=2016-02-18 |url=http://www.techrepublic.com/article/linux-foundation-announces-zephyr-project-an-open-source-iot-operating-system/ |title=Linux Foundation announces Zephyr Project, an open source IoT operating system |website=[[TechRepublic]] |publisher=[[CBS Interactive]] |access-date=2017-01-12}}</ref> Also, being owned and supported by a community means the world's open source developers are vetting the code, which significantly increases security.<ref name=":0" />
==See also==
* [[Embedded operating system]]
==References==
{{Reflist}}
{{Real-time operating systems}}
{{Linux Foundation}}
[[Category:ARM operating systems]]
Line 101 ⟶ 84:
[[Category:Free software operating systems]]
[[Category:Linux Foundation projects]]
[[Category:Real-time operating systems]]
[[Category:Software using the Apache license]]
[[Category:IA-32 operating systems]]
[[Category:X86-64 operating systems]]
[[Category:MIPS operating systems]]
|