16 lines
413 B
Bash
Executable file
16 lines
413 B
Bash
Executable file
#!/bin/bash
|
|
|
|
|
|
ARD_CMD='arduino -v --port /dev/ttyUSB0 --board esp8266:esp8266:d1_mini:xtal=80,baud=460800,ip=lm6f esp_time.ino'
|
|
|
|
opt=$1
|
|
case $opt in
|
|
-u) $ARD_CMD --upload
|
|
;;
|
|
*) $ARD_CMD --verify
|
|
;;
|
|
esac
|
|
|
|
|
|
#fqbn=esp8266:esp8266:d1_mini:xtal=80,vt=flash,exception=disabled,stacksmash=disabled,ssl=all,mmu=3232,non32xfer=fast,eesz=4M2M,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=921600
|