/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: 2012-11-30 16:27:32 UTC
  • Revision ID: tim@ed.am-20121130162732-24y7bv8ykr9pw4w1
cleaned up THANKS

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
        $(shell sed -ne "s/$(BOARD).build.vid=\(.*\)/\1/p" $(BOARDS_FILE))
259
259
BOARD_USB_PID := \
260
260
        $(shell sed -ne "s/$(BOARD).build.pid=\(.*\)/\1/p" $(BOARDS_FILE))
261
 
BOARD_BOOTLOADER_PATH := \
262
 
        $(shell sed -ne "s/$(BOARD).bootloader.path=\(.*\)/\1/p" $(BOARDS_FILE))
263
261
 
264
262
# invalid board?
265
263
ifeq "$(BOARD_BUILD_MCU)" ""
315
313
        @test 0 -eq $(SERIALDEVGUESS) || { \
316
314
                echo "*GUESSING* at serial device:" $(SERIALDEV); \
317
315
                echo; }
318
 
ifeq "$(BOARD_BOOTLOADER_PATH)" "caterina"
319
 
        stty $(STTYFARG) $(SERIALDEV) speed 1200
320
 
        sleep 1
321
 
endif
322
316
        stty $(STTYFARG) $(SERIALDEV) hupcl
323
317
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i
324
318