Skip to content

Instantly share code, notes, and snippets.

@ahalekelly
Last active January 7, 2017 20:23
Show Gist options
  • Save ahalekelly/8b39eaaefed1142f6fc5f01901f9e593 to your computer and use it in GitHub Desktop.
Save ahalekelly/8b39eaaefed1142f6fc5f01901f9e593 to your computer and use it in GitHub Desktop.
Windows Simonk Complile and Flash Script
set board = bs
"C:\Program Files (x86)\Atmel\Studio\7.0\toolchain\avr8\avrassembler\avrasm2.exe" -fI -o %board%.hex -e %board%.eeprom tgy.asm
avrdude -c stk500v2 -b 9600 -P COM4 -u -p m8 -U flash:w:%board%.hex:i
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment