From 817f32342acd93519365987db8232a0ace3e1083 Mon Sep 17 00:00:00 2001 From: HÃ¥vard Espeland Date: Sat, 5 Feb 2011 19:42:59 +0100 Subject: Use avarice instead --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 2e17ec2..1fc43a9 100644 --- a/makefile +++ b/makefile @@ -347,7 +347,7 @@ LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB) # Type: avrdude -c ? # to get a full listing. # -AVRDUDE_PROGRAMMER = jtag2isp +AVRDUDE_PROGRAMMER = jtag2dw # com1 = serial port. Use lpt1 to connect to parallel port. AVRDUDE_PORT = usb @@ -523,7 +523,8 @@ gccversion : # Program the device. program: $(TARGET).hex $(TARGET).eep - $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) + avarice -w -f BootloaderCDC.hex -P at90usb162 -2 -j usb +# $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM) fuses: $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_SET_FUSES) -- cgit v1.2.3