esp_time/images/build.sh

16 lines
237 B
Bash
Raw Normal View History

#!/bin/bash
opt=$1
case $opt in
-u) ~/bin/arduino --upload -v --port /dev/ttyUSB0 --board esp8266:esp8266:d1_mini images.ino
;;
*) ~/bin/arduino --verify -v --board esp8266:esp8266:d1_mini images.ino
;;
esac