firmware/bin/device-update.sh
2020-05-06 19:43:17 -07:00

9 lines
122 B
Bash
Executable File

#!/bin/bash
set -e
FILENAME=$1
echo "Trying to update $FILENAME"
esptool.py --baud 921600 writeflash 0x10000 $FILENAME