firmware/bin/device-update.sh
2020-05-22 12:53:54 +02:00

9 lines
123 B
Bash
Executable File

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