Skip to content

Instantly share code, notes, and snippets.

@an-roo
Created December 5, 2010 16:24
Show Gist options
  • Select an option

  • Save an-roo/729211 to your computer and use it in GitHub Desktop.

Select an option

Save an-roo/729211 to your computer and use it in GitHub Desktop.
set AVR=C:\WinAVR-20100110
set CC=avr-gcc
set PATH=C:\WinAVR-20100110\bin;C:\WinAVR-20100110\utils\bin
make -f Makefile atmega324
avrdude -c usbtiny -patmega324p -U flash:w:optiboot_atmega324.hex
avrdude -c usbtiny -patmega324p -U lfuse:w:0xFF:m
avrdude -c usbtiny -patmega324p -U hfuse:w:0xDE:m
avrdude -c usbtiny -patmega324p -U efuse:w:0xFD:m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment