Add 'reset' target

This commit is contained in:
Nero 2018-10-06 14:34:00 +00:00
parent 5515a0634d
commit 96146f3a23
1 changed files with 3 additions and 0 deletions

View File

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