samples: modules: nanopb: Update requirements

Add installation instruction for adding nanopb to the west workspace.
This is required because it is optional and not installed by default.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2023-10-23 13:57:51 +02:00 committed by Carles Cufí
parent af984c57e5
commit ae26f1ef9d
1 changed files with 12 additions and 3 deletions

View File

@ -22,7 +22,7 @@ make sure the ``protoc`` executable is installed and available.
Use ``apt`` to install dependency:
.. code-block:: bash
.. code-block:: shell
sudo apt install protobuf-compiler
@ -30,7 +30,7 @@ make sure the ``protoc`` executable is installed and available.
Use ``brew`` to install dependency:
.. code-block:: bash
.. code-block:: shell
brew install protobuf
@ -38,10 +38,19 @@ make sure the ``protoc`` executable is installed and available.
Use ``choco`` to install dependency:
.. code-block:: console
.. code-block:: shell
choco install protoc
Additionally Nanopb is an optional module and needs to be added explicitly to the workspace:
.. code-block:: shell
west config manifest.project-filter -- +nanopb
west update
Building and Running
********************