From 9deaf89d04456f90dc774f338a0d35cbc7cf3e2d Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Sat, 12 Feb 2011 19:56:15 +0100 Subject: [PATCH] [avr] make fdude default programmer for rprogram target --- mote/v2/avr/makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mote/v2/avr/makefile b/mote/v2/avr/makefile index ac05f36..25b8eb3 100644 --- a/mote/v2/avr/makefile +++ b/mote/v2/avr/makefile @@ -314,6 +314,7 @@ OBJDUMP = avr-objdump SIZE = avr-size NM = avr-nm AVRDUDE = avrdude +AVRDUDE_R = fdude REMOVE = rm -f COPY = cp WINSHELL = cmd @@ -413,7 +414,7 @@ program: $(TARGET).hex $(TARGET).eep # Program the device remotely. rprogram: $(TARGET).hex $(TARGET).eep @scp $(TARGET).hex $(TARGET).eep root@192.168.255.1:/tmp - @ssh root@192.168.255.1 "cd /tmp; $(AVRDUDE) $(AVRDUDE_FLAGS_R) $(AVRDUDE_WRITE_FUSES) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)" + @ssh root@192.168.255.1 "cd /tmp; $(AVRDUDE_R) $(AVRDUDE_FLAGS_R) $(AVRDUDE_WRITE_FUSES) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)" # Generate avr-gdb config/init file which does the following: