40 lines
2.1 KiB
Bash
Executable file
40 lines
2.1 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
opt=$1
|
|
case $opt in
|
|
-u) ~/bin/arduino --upload -v --port /dev/ttyUSB0 --board esp8266:esp8266:d1_mini:baud=460800,ip=lm6f esp_time.ino
|
|
;;
|
|
*) ~/bin/arduino --verify -v --board esp8266:esp8266:d1_mini:baud=460800,ip=lm6f esp_time.ino
|
|
;;
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# /home/pwarren/Projects/arduino-1.8.10/arduino-builder
|
|
# -dump-prefs
|
|
# -logger=machine
|
|
# -hardware /home/pwarren/Projects/arduino-1.8.10/hardware
|
|
# -hardware /home/pwarren/.arduino15/packages
|
|
# -tools /home/pwarren/Projects/arduino-1.8.10/tools-builder
|
|
# -tools /home/pwarren/Projects/arduino-1.8.10/hardware/tools/avr
|
|
# -tools /home/pwarren/.arduino15/packages
|
|
# -built-in-libraries /home/pwarren/Projects/arduino-1.8.10/libraries
|
|
# -libraries /home/pwarren/Arduino/libraries
|
|
# -fqbn=esp8266:esp8266:d1_mini:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,ip=lm6f,dbg=Disabled,lvl=None____,wipe=none,baud=460800
|
|
# -vid-pid=1A86_7523
|
|
# -ide-version=10810
|
|
# -build-path /tmp/arduino_build_589661
|
|
# -warnings=all
|
|
# -build-cache /tmp/arduino_cache_275875
|
|
# -prefs=build.warn_data_percentage=75
|
|
# -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/home/pwarren/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506
|
|
# -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=/home/pwarren/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506
|
|
# -prefs=runtime.tools.python3.path=/home/pwarren/.arduino15/packages/esp8266/tools/python3/3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=/home/pwarren/.arduino15/packages/esp8266/tools/python3/3.7.2-post1
|
|
# -prefs=runtime.tools.mklittlefs.path=/home/pwarren/.arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6
|
|
# -prefs=runtime.tools.mklittlefs-2.5.0-4-69bd9e6.path=/home/pwarren/.arduino15/packages/esp8266/tools/mklittlefs/2.5.0-4-69bd9e6
|
|
# -prefs=runtime.tools.mkspiffs.path=/home/pwarren/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506
|
|
# -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=/home/pwarren/.arduino15/packages/esp8266/tools/mkspiffs/2.5.0-4-b40a506
|
|
# -verbose /tmp/arduino_modified_sketch_422089/IPv6.ino
|