Split out upload target into two
This commit is contained in:
parent
33b897318f
commit
e7254a3b3a
|
@ -209,8 +209,12 @@ lss: output/$(PROJECT_NAME).lss
|
|||
#sym: output/$(PROJECT_NAME).sym
|
||||
|
||||
# Upload HEX file to Arduino
|
||||
upload: output/$(PROJECT_NAME).hex
|
||||
upload: upload1 upload2
|
||||
|
||||
upload1: output/$(PROJECT_NAME).hex
|
||||
$(AVRDUDE) $(AVRDUDE_FLAGS) -P $(PORT) $(AVRDUDE_WRITE_FLASH)
|
||||
|
||||
upload2: output/$(PROJECT_NAME).hex
|
||||
$(AVRDUDE) $(AVRDUDE_FLAGS) -P $(PORT2) $(AVRDUDE_WRITE_FLASH)
|
||||
|
||||
sym:
|
||||
|
|
Loading…
Reference in New Issue