A complete rewrite of the Overview section. The revised text provides a more logical and comprehensive introduction to the main concepts and capabilities of Zephyr, without providing an excessive level of detail. (Those details should be provided by the remaining sections of the Kernel Primer.) This rewrite has also resulted in some small changes to the About Zephyr and other Kernel Primer sections. Change-Id: Idd4d5e0f0aabaaee8cd43d12563018ba4d8f7417 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
48 lines
1.3 KiB
ReStructuredText
48 lines
1.3 KiB
ReStructuredText
.. _source_tree:
|
|
|
|
Source Tree Structure
|
|
#####################
|
|
|
|
The Zephyr source tree provides the following top-level directories,
|
|
each of which may have one or more additional levels of subdirectories
|
|
which are not described here.
|
|
|
|
:file:`arch`
|
|
Architecture-specific nanokernel and platform code. Each supported
|
|
architecture has its own subdirectory, which contains additional
|
|
subdirectories for the following areas:
|
|
|
|
* architecture-specific nanokernel source files
|
|
* architecture-specific nanokernel include files for private APIs
|
|
* platform-specific code
|
|
* platform configuration files
|
|
|
|
:file:`doc`
|
|
Zephyr documentation-related material and tools.
|
|
|
|
:file:`drivers`
|
|
Device driver code.
|
|
|
|
:file:`include`
|
|
Include files for all public APIs, except those defined under :file:`lib`.
|
|
|
|
:file:`kernel`
|
|
Microkernel code, and architecture-independent nanokernel code.
|
|
|
|
:file:`lib`
|
|
Library code, including the minimal standard C library.
|
|
|
|
:file:`misc`
|
|
Miscellaneous code.
|
|
|
|
:file:`net`
|
|
Networking code, including the Bluetooth stack and networking stacks.
|
|
|
|
:file:`samples`
|
|
Sample applications for the microkernel, nanokernel, Bluetooth stack,
|
|
and networking stacks.
|
|
|
|
:file:`scripts`
|
|
Various programs and other files used to build and test Zephyr
|
|
applications.
|