Skip to content

Commit 1ff7a84

Browse files
dueringacarlescufi
authored andcommitted
doc: Add Zephyr update instructions to beyond-gsg
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 <[email protected]>
1 parent beed762 commit 1ff7a84

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/guides/beyond-GSG.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@ repo.
122122
repository, switch branches in it, or perform a ``git bisect`` inside of
123123
it.
124124

125+
Keeping Zephyr updated
126+
======================
127+
128+
To update the Zephyr project source code, you need to get the latest
129+
changes via ``git``. Afterwards, run ``west update`` as mentioned in
130+
the previous paragraph.
131+
132+
.. code-block:: console
133+
134+
# replace zephyrproject with the path you gave west init
135+
cd zephyrproject/zephyr
136+
git pull
137+
west update
138+
125139
Export Zephyr CMake package
126140
***************************
127141

0 commit comments

Comments
 (0)