summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2014-10-23 15:02:44 +0200
committerFlorian Baumann <derflob@derflob.de>2014-10-23 15:02:44 +0200
commitd9089467f9ae0ac09040784dc7f1393f3991c432 (patch)
treeca177babe29f652e69b7fdbecaee5e3c96f1fee8
parent682f16994332f65a64bbb4b20f8515cc47c22452 (diff)
downloadStripClock-d9089467f9ae0ac09040784dc7f1393f3991c432.tar.gz
StripClock-d9089467f9ae0ac09040784dc7f1393f3991c432.tar.bz2
fix Makefile
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bd93e81..c2a94b0 100644
--- a/Makefile
+++ b/Makefile
@@ -184,7 +184,7 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
AVRDUDE_PROGRAMMER = dragon_isp
# com1 = serial port. Use lpt1 to connect to parallel port.
-AVRDUDE_PORT = /dev/ttyUSB0 # programmer connected to serial device
+AVRDUDE_PORT = usb # programmer connected to serial device
AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
#AVRDUDE_WRITE_EEPROM = -U eeprom:w:$(TARGET).eep
@@ -205,11 +205,11 @@ AVRDUDE_WRITE_FLASH = -U flash:w:$(TARGET).hex
#AVRDUDE_VERBOSE = -v -v
-AVRDUDE_FLAGS = -p $(AVR_DUDE_MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
+AVRDUDE_FLAGS = -p $(AVRDUDE_MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER)
AVRDUDE_FLAGS += $(AVRDUDE_NO_VERIFY)
AVRDUDE_FLAGS += $(AVRDUDE_VERBOSE)
AVRDUDE_FLAGS += $(AVRDUDE_ERASE_COUNTER)
-AVRDUDE_FLAGS += $(AVR_FUSES)
+AVRDUDE_FLAGS += $(AVRDUDE_FUSES)
# ---------------------------------------------------------------------------