From f7df4ec29ac352b531a9bf425366f84a4e15e403 Mon Sep 17 00:00:00 2001 From: Aaron Mueller Date: Tue, 10 Jan 2012 18:46:24 +0100 Subject: [PATCH] Remove some dependencies from the program target in the Makefile --- firmware/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 03e151e..9fcb04b 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -195,7 +195,7 @@ LDFLAGS += -Wl,--relax # Type: avrdude -c ? # to get a full listing. # -AVRDUDE_PROGRAMMER = dragon_isp +AVRDUDE_PROGRAMMER = avrisp2 # com1 = serial port. Use lpt1 to connect to parallel port. AVRDUDE_PORT = -P usb #-P com1 # programmer connected to serial device @@ -338,7 +338,8 @@ gccversion : # Program the device. -program: $(TARGET).hex $(TARGET).eep +#program: $(TARGET).hex $(TARGET).eep +program: $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)