summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorHåvard Espeland <gus@ping.uio.no>2011-02-05 19:42:59 +0100
committerHåvard Espeland <gus@ping.uio.no>2011-02-05 19:42:59 +0100
commit817f32342acd93519365987db8232a0ace3e1083 (patch)
treea9f6368bb0a7f3826dd2f6f1c2fdd6e1e8cd09d9 /makefile
parentf5dbbe6ca075ba1479a89c64a1b9bb29db213f3e (diff)
downloadat90usb-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--makefile5
1 files 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)