Skip to content

Commit b65a97e

Browse files
pdgendtkartben
authored andcommitted
modules: nanopb: Move pip dependencies to optional module
The west packages extension can be used to install module dependencies. Upstream nanopb has added the pip package dependencies to the zephyr/module.yml file. Remove in-tree pip package dependencies. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
1 parent 05b89ff commit b65a97e

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

doc/services/serialization/nanopb.rst

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Additionally, Nanopb is an optional module and needs to be added explicitly to t
4545
4646
west config manifest.project-filter -- +nanopb
4747
west update
48+
west packages pip --install
4849
4950
Configuration
5051
*************

scripts/requirements-extras.txt

-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ Pillow>=10.0
2121
# can be used to sign a Zephyr application binary for consumption by a bootloader
2222
imgtool>=2.1.0
2323

24-
# used by nanopb module to generate sources from .proto files
25-
grpcio-tools>=1.47.0
26-
protobuf>=3.20.3
27-
2824
# used by scripts/release/bug_bash.py for generating top ten bug squashers
2925
PyGithub
3026

submanifests/optional.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ manifest:
2323
groups:
2424
- optional
2525
- name: nanopb
26-
revision: 98bf4db69897b53434f3d0ba72e0a3ab1a902824
26+
revision: 7307ce399b81ddcb3c3a5dc862c52d4754328d38
2727
path: modules/lib/nanopb
2828
remote: upstream
2929
groups:

0 commit comments

Comments
 (0)