Add 'reset' target

This commit is contained in:
Nero 2018-10-06 14:34:00 +00:00
parent 5515a0634d
commit 96146f3a23

View File

@ -62,6 +62,9 @@ AVRDUDE_ARGS += -b$(AVRDUDE_BAUD)
endif endif
ifdef AVRDUDE_TYPE ifdef AVRDUDE_TYPE
reset:
$(AVRDUDE) $(AVRDUDE_ARGS)
flash: $(PROG).hex flash: $(PROG).hex
$(AVRDUDE) $(AVRDUDE_ARGS) -U flash:w:$(PROG).hex $(AVRDUDE) $(AVRDUDE_ARGS) -U flash:w:$(PROG).hex
endif endif