3 FLASHER
= avrdude
-c usbasp
-p
$(MCU_TARGET
)
6 ifeq ($(F_CPU
), 12000000)
7 $(FLASHER
) -B
1 -U flash
:w
:usbasp.atmega8-12MHz.hex
8 else ifeq ($(F_CPU
), 16000000)
9 $(FLASHER
) -B
1 -U flash
:w
:usbasp.atmega8-16MHz.hex
11 $(error setting of F_CPU is not supported.
)
15 $(FLASHER
) -B
200 -U hfuse
:w
:0xC9:m
-U lfuse
:w
:0xEF:m