Migrate to initial protocol for communication that allows setup of display and control of LEDs

This commit is contained in:
2015-03-18 20:39:25 +00:00
parent 5e99d0a14b
commit a1812e08b2
5 changed files with 152 additions and 46 deletions

View File

@@ -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