[avr] make fdude default programmer for rprogram target
This commit is contained in:
parent
7e99548842
commit
9deaf89d04
|
@ -314,6 +314,7 @@ OBJDUMP = avr-objdump
|
||||||
SIZE = avr-size
|
SIZE = avr-size
|
||||||
NM = avr-nm
|
NM = avr-nm
|
||||||
AVRDUDE = avrdude
|
AVRDUDE = avrdude
|
||||||
|
AVRDUDE_R = fdude
|
||||||
REMOVE = rm -f
|
REMOVE = rm -f
|
||||||
COPY = cp
|
COPY = cp
|
||||||
WINSHELL = cmd
|
WINSHELL = cmd
|
||||||
|
@ -413,7 +414,7 @@ program: $(TARGET).hex $(TARGET).eep
|
||||||
# Program the device remotely.
|
# Program the device remotely.
|
||||||
rprogram: $(TARGET).hex $(TARGET).eep
|
rprogram: $(TARGET).hex $(TARGET).eep
|
||||||
@scp $(TARGET).hex $(TARGET).eep root@192.168.255.1:/tmp
|
@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:
|
# Generate avr-gdb config/init file which does the following:
|
||||||
|
|
Loading…
Reference in New Issue