diff options
author | jdlugosz963 <jdlugosz963@gmail.com> | 2022-12-28 16:16:57 +0100 |
---|---|---|
committer | jdlugosz963 <jdlugosz963@gmail.com> | 2022-12-28 16:16:57 +0100 |
commit | 23a70dc3ece576344603c67ac219b524f7086bca (patch) | |
tree | 9703cd58012c7f69903627e6bb6577c7d0b844cb /.bin/esp_upload.sh | |
parent | aaf735839cdd308dd2a4f89b6f85d482c970710e (diff) | |
download | dotfiles-23a70dc3ece576344603c67ac219b524f7086bca.tar.gz dotfiles-23a70dc3ece576344603c67ac219b524f7086bca.zip |
Add custom scripts to bin folder
Diffstat (limited to '.bin/esp_upload.sh')
-rwxr-xr-x | .bin/esp_upload.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # rm /tmp/arduino-sketch-*/ -r | ||
4 | ~/.local/bin/arduino-cli cache clean | ||
5 | ~/.local/bin/arduino-cli compile --fqbn esp8266:esp8266:nodemcuv2 | ||
6 | ~/.local/bin/arduino-cli upload -p /dev/ttyUSB0 --fqbn esp8266:esp8266:nodemcuv2 | ||