/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to arduino.mk

  • Committer: edam
  • Date: 2012-02-15 20:52:35 UTC
  • Revision ID: edam@waxworlds.org-20120215205235-4b091b1aj0w9n4yt
updated arduino.mk

Show diffs side-by-side

added added

removed removed

230
230
AVRDUDEFLAGS += -c $(BOARD_UPLOAD_PROTOCOL) -b $(BOARD_UPLOAD_SPEED)
231
231
LINKFLAGS := -Os -Wl,--gc-sections -mmcu=$(BOARD_BUILD_MCU)
232
232
 
233
 
# figure out which arg to use with stty
234
 
STTYFARG := $(shell stty --help > /dev/null 2>&1 && echo -F || echo -f)
235
 
 
236
233
# default rule
237
234
.DEFAULT_GOAL := all
238
235
 
250
247
        @test -n "$(SERIALDEV)" || { \
251
248
                echo "error: SERIALDEV could not be determined automatically." >&2; \
252
249
                exit 1; }
253
 
        stty $(STTYFARG) $(SERIALDEV) hupcl
 
250
        stty -F $(SERIALDEV) hupcl
254
251
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i
255
252
 
256
253
clean: