firmware/bin/device-update.sh

9 lines
122 B
Bash
Raw Normal View History

2020-05-07 02:43:17 +00:00
#!/bin/bash
set -e
FILENAME=$1
echo "Trying to update $FILENAME"
esptool.py --baud 921600 writeflash 0x10000 $FILENAME