deploy: add erase command

This commit is contained in:
decentclock
2022-10-13 12:39:36 -04:00
parent 66bb421a0f
commit 9bafe5f0eb

View File

@@ -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