update protobufs

This commit is contained in:
Kevin Hester
2020-12-04 18:54:00 +08:00
parent d3cb9bdd4a
commit 9b24cc6dd6
6 changed files with 48 additions and 29 deletions
+6
View File
@@ -1,6 +1,12 @@
#!/bin/bash
set -e
echo "This script requires https://jpa.kapsi.fi/nanopb/download/ version 0.4.1"
# the nanopb tool seems to require that the .options file be in the current directory!
cd proto
../../nanopb-0.4.1-linux-x86/generator-bin/protoc --nanopb_out=-v:../src/mesh -I=../proto portnums.proto mesh.proto
echo "Regenerating protobuf documentation - if you see an error message"
echo "you can ignore it unless doing a new protobuf release to github."
bin/regen-docs.sh