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)