esp_time/images/build.sh

15 lines
237 B
Bash
Executable file

#!/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