2018-06-08 09:46:50 +08:00
|
|
|
.. _west:
|
|
|
|
|
2019-01-27 05:12:48 +08:00
|
|
|
West (Zephyr's meta-tool)
|
|
|
|
#########################
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
The Zephyr project includes a swiss-army knife command line tool named
|
|
|
|
``west``\ [#west-name]_. West is developed in its own `repository`_. Like
|
|
|
|
``git`` and ``docker``, the top-level ``west`` command takes some common
|
|
|
|
options, a sub-command to run, and then options and arguments for that
|
|
|
|
sub-command::
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
west [common-opts] <command> [opts] <args>
|
2018-11-12 23:56:09 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
West's built-in commands provide a multiple repository management system with
|
|
|
|
features inspired by Google's Repo tool and Git submodules. West is also
|
|
|
|
pluggable: you can write your own west "extension commands" which add
|
|
|
|
additional features to west. Zephyr provides extension commands for building
|
|
|
|
applications, debugging them, and more.
|
2018-11-12 23:56:09 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
You can run ``west --help`` (or ``west -h`` for short) to get top-level help
|
|
|
|
for available west commands, and ``west <command> -h`` for detailed help on
|
|
|
|
each command.
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
The following pages document west's ``v0.5.x`` releases, and provide additional
|
|
|
|
context about the tool.
|
2018-06-08 09:46:50 +08:00
|
|
|
|
|
|
|
.. toctree::
|
2018-11-12 23:56:09 +08:00
|
|
|
:maxdepth: 1
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2018-11-02 05:02:30 +08:00
|
|
|
repo-tool.rst
|
2019-02-14 06:05:47 +08:00
|
|
|
manifest.rst
|
|
|
|
config.rst
|
|
|
|
extensions.rst
|
2019-02-08 01:16:49 +08:00
|
|
|
build-flash-debug.rst
|
2019-02-14 06:05:47 +08:00
|
|
|
sign.rst
|
2019-01-30 16:40:55 +08:00
|
|
|
why.rst
|
|
|
|
without-west.rst
|
|
|
|
planned.rst
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2019-01-30 16:40:55 +08:00
|
|
|
For details on west's Python APIs (including APIs provided by extensions in the
|
|
|
|
zephyr), see :ref:`west-apis`.
|
2018-06-08 09:46:50 +08:00
|
|
|
|
2019-02-14 06:05:47 +08:00
|
|
|
.. rubric:: Footnotes
|
|
|
|
|
|
|
|
.. [#west-name]
|
|
|
|
|
|
|
|
Zephyr is an English name for the Latin `Zephyrus
|
|
|
|
<https://en.wiktionary.org/wiki/Zephyrus>`_, the ancient Greek god of the
|
|
|
|
west wind.
|
|
|
|
|
|
|
|
.. _repository:
|
2018-06-08 09:46:50 +08:00
|
|
|
https://github.com/zephyrproject-rtos/west
|