/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 src/Makefile

  • Committer: edam
  • Date: 2012-01-26 23:49:09 UTC
  • Revision ID: edam@waxworlds.org-20120126234909-2sk9o3fr9idt6yd4
updated notes and scematic (adding capacitor+resistor and diode)

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
ifeq ($(SERIALDEV), )
169
169
SERIALDEV := $(firstword $(wildcard /dev/ttyACM? /dev/ttyUSB?))
170
170
endif
171
 
ifeq ($(SERIALDEV), )
172
 
$(error SERIALDEV is unset and could not be automatically determined)
173
 
endif
174
171
 
175
172
# no board? oh dear...
176
173
ifndef BOARD
240
237
target: $(TARGET).hex
241
238
 
242
239
upload:
 
240
        @test -n "$(SERIALDEV)" || { echo "SERIALDEV is unset." >&2; exit 1; }
243
241
        stty -F $(SERIALDEV) hupcl
244
242
        $(AVRDUDE) $(AVRDUDEFLAGS) -U flash:w:$(TARGET).hex:i
245
243
 
254
252
                -e 's/\(.\{12\}\) *\(.*\)/\1 \2/;p' $(BOARDS_FILE)
255
253
 
256
254
monitor:
 
255
        @test -n "$(SERIALDEV)" || { echo "SERIALDEV is unset." >&2; exit 1; }
257
256
        screen $(SERIALDEV)
258
257
 
259
258
# building the target