Skip to content

Commit

Permalink
Flashing script
Browse files Browse the repository at this point in the history
  • Loading branch information
gcormier committed Feb 3, 2019
1 parent 6afb9e5 commit 49b7630
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions flash.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SET avrdudeconf="C:\Users\Greg\AppData\Local\arduino15\packages\ATTinyCore\hardware\avr\1.1.5/avrdude.conf"

avrdude "-C%avrdudeconf%" -c usbtiny -p t841 -U lfuse:w:0xe2:m
avrdude "-C%avrdudeconf%" -c usbtiny -p t841 -U hfuse:w:0xd6:m
avrdude "-C%avrdudeconf%" -c usbtiny -p t841 -U efuse:w:0xfe:m

avrdude "-C%avrdudeconf%" -v -pattiny841 -cusbtiny -Uflash:w:megadesk.hex:i

0 comments on commit 49b7630

Please sign in to comment.