Skip to content
Snippets Groups Projects
Commit a5d1e8f6 authored by Michael DM Dryden's avatar Michael DM Dryden
Browse files

genericized makefiles

parent e5e5a410
Branches
Tags
No related merge requests found
......@@ -487,9 +487,9 @@ rebuilddoc: cleandoc doc
program: all flash
# Flash µC - flash and disables JTAG
AVRDUDE_FLAGS = -p x256a3u -c $(AVRDUDE_PROG) -P $(AVRDUDE_PORT) -U flash:w:dstat-firmware.hex:i -U fuse4:w:0xff:m
AVRDUDE_FLAGS = -p $(AVRDUDE_DEV) -c $(AVRDUDE_PROG) -P $(AVRDUDE_PORT) -U flash:w:$(TARGET):e -U fuse4:w:0xff:m
flash: $(TARGET).hex
flash: $(TARGET)
avrdude $(AVRDUDE_FLAGS)
......@@ -44,6 +44,7 @@ MCU = atxmega256a3u
F_CPU = 20000000
# Programming settings
AVRDUDE_DEV = x256a3u
AVRDUDE_PROG = avrispmkII
AVRDUDE_PORT = usb
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment