/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-07-18 17:52:49 UTC
  • Revision ID: tim@ed.am-20130718175249-ghipyk9wgf3v9a39
added support for optional board upload speed

Show diffs side-by-side

added added

removed removed

Lines of Context:
300
300
CPPDEPFLAGS = -MMD -MP -MF .dep/$<.dep
301
301
CPPINOFLAGS := -x c++ -include $(ARDUINOCOREDIR)/Arduino.h
302
302
AVRDUDEFLAGS += $(addprefix -C , $(AVRDUDECONF)) -DV
303
 
AVRDUDEFLAGS += -p $(BOARD_BUILD_MCU) -P $(SERIALDEV)
304
 
AVRDUDEFLAGS += -c $(BOARD_UPLOAD_PROTOCOL) -b $(BOARD_UPLOAD_SPEED)
 
303
AVRDUDEFLAGS += -p$(BOARD_BUILD_MCU) -P$(SERIALDEV) -c$(BOARD_UPLOAD_PROTOCOL)
 
304
AVRDUDEFLAGS += $(addprefix -b, $(BOARD_UPLOAD_SPEED))
305
305
LINKFLAGS += -Os -Wl,--gc-sections -mmcu=$(BOARD_BUILD_MCU)
306
306
 
307
307
# figure out which arg to use with stty (for OS X, GNU and busybox stty)