From dbcd007c4814a52b224fbeda9419d57f1ed3b27e Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 11 Jul 2018 21:12:08 +0200 Subject: [PATCH] update delays --- Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index e8d0a7f..53a16ff 100644 --- a/Makefile +++ b/Makefile @@ -2,22 +2,21 @@ SERIAL_PORT=/dev/tty.wchusbserial1410 #SERIAL_PORT=/dev/ttyUSB0 -all: flash lib config update reboot +all: flash lib config update reset -reboot: +reset: esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac lib: - sleep 1 - ampy -p $(SERIAL_PORT) put uwebsockets.py + ampy -d 0.5 -p $(SERIAL_PORT) put uwebsockets.py update: - ampy -p $(SERIAL_PORT) put hal.py - ampy -p $(SERIAL_PORT) put main.py - ampy -p $(SERIAL_PORT) put boot.py + ampy -d 0.5 -p $(SERIAL_PORT) put hal.py + ampy -d 0.5 -p $(SERIAL_PORT) put main.py + ampy -d 0.5 -p $(SERIAL_PORT) put boot.py config: - ampy -p $(SERIAL_PORT) put config.json + ampy -d 0.5 -p $(SERIAL_PORT) put config.json flash: esptool.py -p $(SERIAL_PORT) -b 460800 erase_flash