2024-05-17 14:34:21 -07:00

18 lines
210 B
Bash
Executable File

#!/bin/bash
# first device connected
idf.py clean
idf.py -DROLE=SENDER build
ret_val=$?
if (($ret_val != 0)); then
exit
fi
cp build/wellhub.bin /var/www/esp_ota
idf.py -p /dev/ttyUSB1 monitor -B 450000