2015-05-16 00:38:34 +08:00
|
|
|
..
|
2015-06-14 03:51:09 +08:00
|
|
|
Zephyr Project documentation master file
|
2015-05-16 00:38:34 +08:00
|
|
|
|
2016-02-06 00:06:00 +08:00
|
|
|
Zephyr Project Documentation
|
|
|
|
############################
|
|
|
|
|
2016-04-21 23:23:57 +08:00
|
|
|
.. only:: release
|
|
|
|
|
|
|
|
Welcome to the Zephyr Project's documentation version |version|!
|
|
|
|
|
|
|
|
Documentation for the development branch of Zephyr can be found at
|
2016-05-04 04:07:50 +08:00
|
|
|
https://www.zephyrproject.org/doc/
|
2016-04-21 23:23:57 +08:00
|
|
|
|
|
|
|
.. only:: development
|
|
|
|
|
|
|
|
Welcome to the Zephyr Project's documentation. This is the documentation of the
|
|
|
|
master tree under development.
|
|
|
|
|
|
|
|
Documentation for released versions of Zephyr can be found at
|
2016-05-28 20:22:40 +08:00
|
|
|
``https://www.zephyrproject.org/doc/<version>``. The following documentation
|
|
|
|
versions are vailable:
|
2016-04-21 23:23:57 +08:00
|
|
|
|
2016-05-28 20:22:40 +08:00
|
|
|
`Zephyr 1.1.0`_ | `Zephyr 1.2.0`_ | `Zephyr 1.3.0`_
|
2016-04-16 00:14:55 +08:00
|
|
|
|
|
|
|
Sections
|
|
|
|
********
|
2015-08-18 05:04:22 +08:00
|
|
|
|
2015-05-14 02:05:30 +08:00
|
|
|
.. toctree::
|
2015-08-29 21:14:50 +08:00
|
|
|
:maxdepth: 1
|
2015-05-14 02:05:30 +08:00
|
|
|
|
2016-01-29 00:59:49 +08:00
|
|
|
getting_started/getting_started.rst
|
2016-01-29 06:27:56 +08:00
|
|
|
kernel/kernel.rst
|
2016-05-16 22:33:57 +08:00
|
|
|
contribute/code.rst
|
2016-02-28 05:31:44 +08:00
|
|
|
drivers/drivers.rst
|
2016-04-09 04:30:16 +08:00
|
|
|
subsystems/subsystems.rst
|
2016-04-14 08:33:44 +08:00
|
|
|
porting/porting.rst
|
2016-02-02 01:28:50 +08:00
|
|
|
api/api.rst
|
2016-02-03 22:37:12 +08:00
|
|
|
board/board.rst
|
2016-05-16 22:33:57 +08:00
|
|
|
reference/kbuild/kbuild.rst
|
|
|
|
application/application.rst
|
2016-02-03 22:37:12 +08:00
|
|
|
|
2016-04-16 00:14:55 +08:00
|
|
|
You can find further information on the `Zephyr Project Wiki`_.
|
|
|
|
|
2016-06-14 05:44:55 +08:00
|
|
|
.. _about_zephyr:
|
|
|
|
|
|
|
|
Introduction to the Zephyr Project
|
|
|
|
##################################
|
|
|
|
|
|
|
|
The Zephyr Kernel is a small-footprint kernel designed for use on
|
|
|
|
resource-constrained systems: from simple embedded environmental
|
|
|
|
sensors and LED wearables to sophisticated smart watches and IoT
|
|
|
|
wireless gateways.
|
|
|
|
|
|
|
|
It is designed to be supported by multiple architectures, including
|
|
|
|
ARM Cortex-M, Intel x86, and ARC. The full list of supported platforms
|
|
|
|
can be found :ref:`here <board>`.
|
|
|
|
|
|
|
|
Licensing
|
|
|
|
*********
|
|
|
|
|
|
|
|
The Zephyr project associated with the kernel makes it available
|
|
|
|
to users and developers under the Apache License, version 2.0.
|
|
|
|
|
|
|
|
Distinguishing Features
|
|
|
|
***********************
|
|
|
|
|
|
|
|
The Zephyr Kernel offers a number of features that distinguish it from other
|
|
|
|
small-footprint OSes:
|
|
|
|
|
|
|
|
#. **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.
|
|
|
|
|
|
|
|
#. **Highly configurable**. Allows an application to incorporate *only*
|
|
|
|
the capabilities it needs as it needs them, and to specify their
|
|
|
|
quantity and size.
|
|
|
|
|
|
|
|
#. **Resources defined at compile-time**. Requires all system resources
|
|
|
|
be defined at compilation time, which reduces code size and
|
|
|
|
increases performance.
|
|
|
|
|
|
|
|
#. **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.
|
|
|
|
|
|
|
|
#. **Extensive suite of services** Offers a number of familiar services
|
|
|
|
for development:
|
|
|
|
|
|
|
|
* *Multi-threading Services* for both priority-based, non-preemptive
|
|
|
|
fibers and priority-based, preemptive tasks with optional round robin
|
|
|
|
time-slicing.
|
|
|
|
|
|
|
|
* *Interrupt Services* for both compile-time and run-time registration
|
|
|
|
of interrupt handlers.
|
|
|
|
|
|
|
|
* *Inter-thread Synchronization Services* for binary semaphores,
|
|
|
|
counting semaphores, and mutex semaphores.
|
|
|
|
|
|
|
|
* *Inter-thread Data Passing Services* for basic message queues, enhanced
|
|
|
|
message queues, and byte streams.
|
|
|
|
|
|
|
|
* *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
|
|
|
|
infrastructure.
|
2016-05-16 22:33:57 +08:00
|
|
|
|
2016-02-06 00:06:00 +08:00
|
|
|
Indices and Tables
|
|
|
|
******************
|
2015-05-14 02:05:30 +08:00
|
|
|
|
|
|
|
* :ref:`genindex`
|
|
|
|
|
2015-05-26 01:19:03 +08:00
|
|
|
* :ref:`search`
|
2016-04-16 00:14:55 +08:00
|
|
|
|
|
|
|
.. _Zephyr Project Wiki: https://wiki.zephyrproject.org/view/Main_Page
|
2016-05-28 20:22:40 +08:00
|
|
|
.. _Zephyr 1.3.0: https://www.zephyrproject.org/doc/1.3.0/
|
2016-04-21 23:23:57 +08:00
|
|
|
.. _Zephyr 1.2.0: https://www.zephyrproject.org/doc/1.2.0/
|
|
|
|
.. _Zephyr 1.1.0: https://www.zephyrproject.org/doc/1.1.0/
|