diff options
author | Håvard Espeland <gus@ping.uio.no> | 2011-02-05 19:42:59 +0100 |
---|---|---|
committer | Håvard Espeland <gus@ping.uio.no> | 2011-02-05 19:42:59 +0100 |
commit | 817f32342acd93519365987db8232a0ace3e1083 (patch) | |
tree | a9f6368bb0a7f3826dd2f6f1c2fdd6e1e8cd09d9 /makefile | |
parent | f5dbbe6ca075ba1479a89c64a1b9bb29db213f3e (diff) | |
download | at90usb-bootloader-817f32342acd93519365987db8232a0ace3e1083.tar.gz at90usb-bootloader-817f32342acd93519365987db8232a0ace3e1083.tar.bz2 at90usb-bootloader-817f32342acd93519365987db8232a0ace3e1083.tar.xz at90usb-bootloader-817f32342acd93519365987db8232a0ace3e1083.zip |
Use avarice instead
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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)
|