Over the Air (OTA) Update though SSH on Raspberry Pi.
Used to flash new firmware from the Arduino IDE though a Raspberry Pi to an Arduino. In my case I have an Arduino connected over USB OTG to a Raspberry Pi Zero W, connected over WiFi
- Install required dependacies
sudo apt-get install -y avrdude gcc-avr avr-libc
- Manually Copy ( Arduino IDE/.../hardware/tools/avr/etc/avrdude.conf ) to the Raspberry Pi ( ~/Arduino/avrdude.conf )
- Manually Copy ( usbreset.sh ) to the Raspberry Pi ( ~/Arduino/usbreset.sh )
- Run:
sh setup_ssh-passwordless-login.sh
to configure Password-less SSH Login. - Move HARDWARE folder to: /Users/.../Documents/Arduino/HARDWARE (or your Arduino "My Sketch" folder)
- Run:
chmod +x /Users/.../Documents/Arduino/HARDWARE/Arduino_OTA-SSH/arduino_ssh_upload.sh
- Run:
- Your using linux... you'll figure it out ( similar to above ).
- Not my problem: However, tchilton/farduino