/make/arduino-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/arduino-mk

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: Tim Marston
  • Date: 2014-01-03 17:02:32 UTC
  • Revision ID: tim@ed.am-20140103170232-ayjz27hf0ui2lnz9
added support for using avrdude's net:* and usb:* SERVIALDEVs

Show diffs side-by-side

added added

removed removed

376
376
ifeq "$(BOARD_BOOTLOADER_PATH)" "caterina"
377
377
        stty $(STTYFARG) $(SERIALDEV) speed 1200
378
378
        sleep 1
379
 
else
 
379
else ifeq "" "$(filter net:%,$(SERIALDEV))"
380
380
        stty $(STTYFARG) $(SERIALDEV) hupcl
381
381
endif
382
382
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i