summaryrefslogtreecommitdiffstats
path: root/.bin/esp_upload.sh
blob: 27d8d4150d89769abe7abad6f7287185de31bbfc (plain)
1
2
3
4
5
6
#!/bin/sh

# rm /tmp/arduino-sketch-*/ -r
~/.local/bin/arduino-cli cache clean
~/.local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2
~/.local/bin/arduino-cli upload -p /dev/ttyUSB0 --fqbn esp8266:esp8266:nodemcuv2