Split out upload target into two

This commit is contained in:
maniacbug 2011-05-02 21:20:55 -07:00
parent 33b897318f
commit e7254a3b3a
1 changed files with 5 additions and 1 deletions

View File

@ -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: