Add 'reset' target
This commit is contained in:
parent
5515a0634d
commit
96146f3a23
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue