Fix things for nanopb.proto

This commit is contained in:
Ian McEwen
2024-03-25 14:03:58 -07:00
parent 3839c75c82
commit f4120102b3
3 changed files with 41 additions and 1 deletions

View File

@@ -5,6 +5,7 @@
#gsed -i 's/package meshtastic;//g' ./protobufs/meshtastic/*
./nanopb-0.4.7/generator-bin/protoc -I=protobufs --python_out ./ ./protobufs/meshtastic/*.proto
./nanopb-0.4.7/generator-bin/protoc -I=protobufs --python_out ./meshtastic/ ./protobufs/nanopb.proto
# workaround for import bug in protoc https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-690618628