From 63d8757c1bfe566fdd48f7e4421585d8dc370568 Mon Sep 17 00:00:00 2001 From: Silver Kuusik Date: Wed, 10 Jan 2018 22:48:50 +0100 Subject: [PATCH] update Makefile --- Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 22b5e76..47d1f29 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,14 @@ -all: - ampy -p /dev/tty.SLAB_USBtoUART put hal.py - ampy -p /dev/tty.SLAB_USBtoUART put main.py - ampy -p /dev/tty.SLAB_USBtoUART put boot.py - ampy -p /dev/tty.SLAB_USBtoUART put wifis.json +all: flash update wifis ampy -p /dev/tty.SLAB_USBtoUART put uwebsockets.py update: + sleep 3 ampy -p /dev/tty.SLAB_USBtoUART put hal.py - ampy -p /dev/tty.SLAB_USBtoUART put main.py - ampy -p /dev/tty.SLAB_USBtoUART put boot.py + ampy -p /dev/tty.SLAB_USBtoUART put main.py + ampy -p /dev/tty.SLAB_USBtoUART put boot.py wifis: + sleep 3 ampy -p /dev/tty.SLAB_USBtoUART put wifis.json flash: