Created
January 18, 2020 09:10
-
-
Save neosarchizo/c959cc01f61ffb428ff4f6c894091773 to your computer and use it in GitHub Desktop.
avrdude shell script Mac OSX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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