From 23a70dc3ece576344603c67ac219b524f7086bca Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Wed, 28 Dec 2022 16:16:57 +0100 Subject: Add custom scripts to bin folder --- .bin/esp_upload.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .bin/esp_upload.sh (limited to '.bin/esp_upload.sh') diff --git a/.bin/esp_upload.sh b/.bin/esp_upload.sh new file mode 100755 index 0000000..27d8d41 --- /dev/null +++ b/.bin/esp_upload.sh @@ -0,0 +1,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 -- cgit v1.2.3