2015-10-24 00:42:56 +08:00
|
|
|
.. _about_zephyr:
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-19 00:15:22 +08:00
|
|
|
Introduction to the Zephyr Project
|
|
|
|
##################################
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-21 01:28:33 +08:00
|
|
|
The Zephyr Kernel is a small-footprint kernel designed for use on
|
2015-10-15 11:39:43 +08:00
|
|
|
resource-constrained systems: from simple embedded environmental
|
|
|
|
sensors and LED wearables to sophisticated smart watches and IoT
|
|
|
|
wireless gateways.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
It is designed to be supported by multiple architectures, including
|
|
|
|
ARM Cortex-M, Intel x86, and ARC. The full list of supported platforms
|
2016-01-29 06:27:56 +08:00
|
|
|
can be found :ref:`here <board>`.
|
2015-08-20 05:57:58 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
Licensing
|
|
|
|
*********
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
The Zephyr project associated with the kernel makes it available
|
|
|
|
to users and developers under the Apache License, version 2.0.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
Distinguishing Features
|
|
|
|
***********************
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-21 01:28:33 +08:00
|
|
|
The Zephyr Kernel offers a number of features that distinguish it from other
|
2015-10-15 11:39:43 +08:00
|
|
|
small-footprint OSes:
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
#. **Single address-space OS**. Combines application-specific code
|
|
|
|
with a custom kernel to create a monolithic image that gets loaded
|
|
|
|
and executed on a system's hardware. Both the application code and
|
|
|
|
kernel code execute in a single shared address space.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
#. **Highly configurable**. Allows an application to incorporate *only*
|
|
|
|
the capabilities it needs as it needs them, and to specify their
|
|
|
|
quantity and size.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-20 21:51:07 +08:00
|
|
|
#. **Resources defined at compile-time**. Requires all system resources
|
2015-10-15 11:39:43 +08:00
|
|
|
be defined at compilation time, which reduces code size and
|
|
|
|
increases performance.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
#. **Minimal error checking**. Provides minimal run-time error checking
|
|
|
|
to reduce code size and increase performance. An optional error-checking
|
|
|
|
infrastructure is provided to assist in debugging during application
|
|
|
|
development.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
#. **Extensive suite of services** Offers a number of familiar services
|
|
|
|
for development:
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-20 21:51:07 +08:00
|
|
|
* *Multi-threading Services* for both priority-based, non-preemptive
|
|
|
|
fibers and priority-based, preemptive tasks with optional round robin
|
|
|
|
time-slicing.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-20 21:51:07 +08:00
|
|
|
* *Interrupt Services* for both compile-time and run-time registration
|
|
|
|
of interrupt handlers.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2016-02-09 20:31:08 +08:00
|
|
|
* *Inter-thread Synchronization Services* for binary semaphores,
|
2015-10-20 21:51:07 +08:00
|
|
|
counting semaphores, and mutex semaphores.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
* *Inter-thread Data Passing Services* for basic message queues, enhanced
|
|
|
|
message queues, and byte streams.
|
2015-08-12 23:20:24 +08:00
|
|
|
|
2015-10-15 11:39:43 +08:00
|
|
|
* *Memory Allocation Services* for dynamic allocation and freeing of
|
|
|
|
fixed-size or variable-size memory blocks.
|
|
|
|
|
|
|
|
* *Power Management Services* such as tickless idle and an advanced idling
|
2016-02-09 20:31:08 +08:00
|
|
|
infrastructure.
|