Skip to content

Instantly share code, notes, and snippets.

@neosarchizo
Created January 18, 2020 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neosarchizo/c959cc01f61ffb428ff4f6c894091773 to your computer and use it in GitHub Desktop.
Save neosarchizo/c959cc01f61ffb428ff4f6c894091773 to your computer and use it in GitHub Desktop.
avrdude shell script Mac OSX
upload_arduino_hex() {
avrdude -p $1 -c avrisp2 -P usb -e -U flash:w:$2 -v
}
# upload_arduino_hex m328p avrisp_mk2_test.ino.with_bootloader.standard.hex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment