Migrate to initial protocol for communication that allows setup of display and control of LEDs
This commit is contained in:
7
Makefile
7
Makefile
@@ -3,7 +3,7 @@ GOOGLE_PROTOBUF_INCLUDES = protobuf/src
|
||||
NANOPB_DIR = nanopb/generator
|
||||
PROTO_INCLUDES = -I$(PROTO_DIR) -I$(GOOGLE_PROTOBUF_INCLUDES) -I$(NANOPB_DIR)/proto
|
||||
|
||||
all: nanopb beerduino.pb
|
||||
all: nanopb tm1638.pb
|
||||
|
||||
nanopb: nanopb_nanopb nanopb_plugin
|
||||
cp nanopb/pb.h src
|
||||
@@ -21,4 +21,7 @@ nanopb_%: $(NANOPB_DIR)/proto/%.proto
|
||||
protoc -o$@ $< $(PROTO_INCLUDES)
|
||||
python $(NANOPB_DIR)/nanopb_generator.py $@ -L '#include "%s"'
|
||||
mv -f $@.h src
|
||||
mv -f $@.c src
|
||||
mv -f $@.c src
|
||||
|
||||
run:
|
||||
platformio run
|
||||
Reference in New Issue
Block a user