refactor, remove debug output

This commit is contained in:
Silver Kuusik
2018-05-22 21:42:11 +03:00
parent 8d4ed5f9b8
commit dec8eb7708
3 changed files with 22 additions and 19 deletions

View File

@@ -1,18 +1,22 @@
SERIAL_PORT=/dev/tty.SLAB_USBtoUART
#SERIAL_PORT=/dev/tty.wchusbserial1420
#SERIAL_PORT=/dev/tty.SLAB_USBtoUART
SERIAL_PORT=/dev/tty.wchusbserial1410
#SERIAL_PORT=/dev/ttyUSB0
all: flash update config
all: flash lib config update reboot
reboot:
esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac
lib:
sleep 1
ampy -p $(SERIAL_PORT) put uwebsockets.py
update:
sleep 3
ampy -p $(SERIAL_PORT) put hal.py
ampy -p $(SERIAL_PORT) put main.py
ampy -p $(SERIAL_PORT) put boot.py
config:
sleep 3
ampy -p $(SERIAL_PORT) put config.json
flash: