From 9ee9969b4bd198861681ee127f226dad9008e820 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 15 Aug 2018 08:36:11 +0200 Subject: [PATCH] add delay after flash --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 53a16ff..552f400 100644 --- a/Makefile +++ b/Makefile @@ -2,12 +2,15 @@ SERIAL_PORT=/dev/tty.wchusbserial1410 #SERIAL_PORT=/dev/ttyUSB0 -all: flash lib config update reset +all: flash delay libs config update reset + +delay: + sleep 3 reset: esptool.py -p $(SERIAL_PORT) --after hard_reset read_mac -lib: +libs: ampy -d 0.5 -p $(SERIAL_PORT) put uwebsockets.py update: