da7b6e47c7
This includes the files as of wget http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz tar -xf usbasp.2011.05-28.tar.gz
12 lines
249 B
Plaintext
Executable File
12 lines
249 B
Plaintext
Executable File
MCU_TARGET = atmega48
|
|
FLASHER = avrdude -c usbasp -p $(MCU_TARGET)
|
|
|
|
usbasp: fuses
|
|
$(FLASHER) -B 1 -U flash:w:usbasp.atmega48.2009-02-28.hex
|
|
|
|
fuses:
|
|
$(FLASHER) -B 200 -U hfuse:w:0xdd:m -U lfuse:w:0xff:m
|
|
shell:
|
|
$(FLASHER) -t
|
|
|