You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
413 B
Bash
16 lines
413 B
Bash
#!/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
|