12 lines
249 B
Plaintext
12 lines
249 B
Plaintext
|
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
|
||
|
|