Add nanopb tool

This commit is contained in:
Changhua
2023-04-29 02:00:53 +08:00
parent c137e1b9fb
commit bc57b9a54d
14 changed files with 4113 additions and 4 deletions
+10
View File
@@ -0,0 +1,10 @@
PROTOC?=../protoc
all: nanopb_pb2.py
%_pb2.py: %.proto
$(PROTOC) --python_out=. $<
.PHONY: clean
clean:
rm nanopb_pb2.py