Lines Matching +full:west +full:- +full:commands
1 .. _no-west:
3 Using Zephyr without west
6 This page provides information on using Zephyr without west. This is
11 - cloning the additional source code repositories used by Zephyr in
13 - specifying the locations of these repositories to the Zephyr build
15 - flashing and debugging without understanding detailed usage of the
20 If you have previously installed west and want to stop using it,
23 .. code-block:: console
25 pip3 uninstall west
31 ------------------
35 :term:`west manifest` file inside that repository.
37 .. code-block:: console
41 git clone https://github.com/zephyrproject-rtos/zephyr
42 # clone additional repositories listed in zephyr/west.yml,
50 ---------------------
53 without west installed if you specify any modules manually.
55 .. zephyr-app-commands::
56 :zephyr-app: samples/hello_world
59 :gen-args: -DZEPHYR_MODULES=module1;module2;...
62 When building with west installed, the Zephyr build system will use it to set
63 :ref:`ZEPHYR_MODULES <important-build-vars>`.
65 If you don't have west installed and your application does not need any of
68 If you don't have west installed and your application *does* need one
75 ----------------------
78 etc. is just a call to the corresponding :ref:`west command
79 <west-build-flash-debug>`. For example, ``ninja flash`` calls ``west
80 flash``\ [#wbninja]_. If you don't have west installed on your system, running
82 any :ref:`flash-debug-host-tools` which work for your board (and which those
83 west commands wrap).
86 install west on your system using ``pip``, it is possible to do so
87 by manually creating a :term:`west workspace`:
89 .. code-block:: console
92 git clone https://github.com/zephyrproject-rtos/west.git .west/west
94 Then create a file :file:`.west/config` with the following contents:
96 .. code-block:: none
104 After that, and in order for ``ninja`` to be able to invoke ``west``
105 to flash and debug, you must specify the west directory. This can be
107 :file:`zephyrproject/.west/west` before running CMake to set up a
114 Note that ``west build`` invokes ``ninja``, among other
115 tools. There's no recursive invocation of either ``west`` or
116 ``ninja`` involved by default, however, as ``west build`` does not
119 line like ``west build -t flash``. In that case, west is run twice:
120 once for ``west build``, and in a subprocess, again for ``west
124 ``west flash`` is run.