/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: edam
  • Date: 2012-01-26 12:36:55 UTC
  • Revision ID: edam@waxworlds.org-20120126123655-hvebajnzf7z94fk3
cleaned up comments

Show diffs side-by-side

added added

removed removed

222
222
target: $(TARGET).hex
223
223
 
224
224
upload:
225
 
        @echo "\nUploading to board..."
226
 
        @test -n "$(SERIALDEV)" || { \
227
 
                echo "error: SERIALDEV could not be determined automatically." >&2; \
228
 
                exit 1; }
229
225
        stty -F $(SERIALDEV) hupcl
230
226
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i
231
227
 
240
236
                -e 's/\(.\{12\}\) *\(.*\)/\1 \2/;p' $(BOARDS_FILE)
241
237
 
242
238
monitor:
243
 
        @test -n "$(SERIALDEV)" || { \
244
 
                echo "error: SERIALDEV could not be determined automatically." >&2; \
245
 
                exit 1; }
246
239
        screen $(SERIALDEV)
247
240
 
248
241
# building the target