Skip to content

Commit

Permalink
doc: Add Zephyr update instructions to beyond-gsg
Browse files Browse the repository at this point in the history
Add explicit instructions on how to update the Zephyr
source code. For a beginner, it might not be obvious
how to do that. "west update" sounds like it'd do that,
which is not the case, however.

Signed-off-by: Andreas Düring <gh@duering-andreas.de>
  • Loading branch information
dueringa authored and carlescufi committed Feb 23, 2021
1 parent beed762 commit 1ff7a84
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/guides/beyond-GSG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ repo.
repository, switch branches in it, or perform a ``git bisect`` inside of
it.

Keeping Zephyr updated
======================

To update the Zephyr project source code, you need to get the latest
changes via ``git``. Afterwards, run ``west update`` as mentioned in
the previous paragraph.

.. code-block:: console
# replace zephyrproject with the path you gave west init
cd zephyrproject/zephyr
git pull
west update
Export Zephyr CMake package
***************************

Expand Down

0 comments on commit 1ff7a84

Please sign in to comment.