From fd7adfaee5001f9960caf88aa11ec180ab9d7049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 10 Jan 2025 13:32:23 +0100 Subject: [PATCH] doc: add updating zephyr dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add part about updating zephyr dependencies. Signed-off-by: Fin Maaß --- doc/develop/beyond-GSG.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/develop/beyond-GSG.rst b/doc/develop/beyond-GSG.rst index ab0a1aba84fef8..944da867e4985b 100644 --- a/doc/develop/beyond-GSG.rst +++ b/doc/develop/beyond-GSG.rst @@ -144,6 +144,21 @@ the previous paragraph. git pull west update +Keeping Zephyr dependencies updated +=================================== + +To update the Python dependencies of the Zephyr project, you can use the +``west packages pip --install -- --upgrade`` command. This command will install or upgrade the +Python packages required by Zephyr and it's modules. This should be done after updating the Zephyr +project source code. Make sure to execute this command while the virtual environment, you use when +working with Zephyr, is active. + +.. code-block:: console + + # replace zephyrproject with the path you gave west init + cd zephyrproject/zephyr + west packages pip --install -- --upgrade + Export Zephyr CMake package ***************************