/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: 2013-02-25 23:14:50 UTC
  • Revision ID: tim@ed.am-20130225231450-pd2f2ha56wdcu5k9
prevent unnecessary hupcl when uploading to the caterina bootloader

Show diffs side-by-side

added added

removed removed

335
335
ifeq "$(BOARD_BOOTLOADER_PATH)" "caterina"
336
336
        stty $(STTYFARG) $(SERIALDEV) speed 1200
337
337
        sleep 1
 
338
else
 
339
        stty $(STTYFARG) $(SERIALDEV) hupcl
338
340
endif
339
 
        stty $(STTYFARG) $(SERIALDEV) hupcl
340
341
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i
341
342
 
342
343
clean: