From 9bafe5f0ebd03bff2a16614296398ff99b7fe063 Mon Sep 17 00:00:00 2001 From: decentclock Date: Thu, 13 Oct 2022 12:39:36 -0400 Subject: [PATCH] deploy: add erase command --- deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy.sh b/deploy.sh index 1ff6584..d97a09f 100755 --- a/deploy.sh +++ b/deploy.sh @@ -46,6 +46,7 @@ then echo "Make sure the ESP is connected with a data USB cable, and try again." exit 1 fi +esptool.py erase_flash git pull cd factory cargo espflash --release $PORT