add delay after flash

This commit is contained in:
Silver Kuusik 2018-08-15 08:36:11 +02:00
parent 790dbbe128
commit 9ee9969b4b

View File

@ -2,12 +2,15 @@
SERIAL_PORT=/dev/tty.wchusbserial1410 SERIAL_PORT=/dev/tty.wchusbserial1410
#SERIAL_PORT=/dev/ttyUSB0 #SERIAL_PORT=/dev/ttyUSB0
all: flash lib config update reset all: flash delay libs config update reset
delay:
sleep 3
reset: reset:
esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac
lib: libs:
ampy -d 0.5 -p $(SERIAL_PORT) put uwebsockets.py ampy -d 0.5 -p $(SERIAL_PORT) put uwebsockets.py
update: update: