Makefile: use only one way to flash
This commit is contained in:
parent
32f96874b1
commit
ca90c6ae8a
|
@ -68,17 +68,9 @@ clean:
|
||||||
fuse:
|
fuse:
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
$(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES)
|
||||||
|
|
||||||
|
# flash via Arduino Uno or similar
|
||||||
flash: $(PROJECT).hex Makefile
|
flash: $(PROJECT).hex Makefile
|
||||||
$(AVRDUDE) -p m88 -F -c usbtiny -B 1 -U flash:w:$(PROJECT).hex
|
$(AVRDUDE) -p m88 -P /dev/ttyACM0 -c stk500v1 -b 19200 -U flash:w:$(PROJECT).hex
|
||||||
|
|
||||||
fljohn: $(PROJECT).hex Makefile
|
.PHONY : clean all fuse flash
|
||||||
$(AVRDUDE) -p m88 -F -P /dev/serial/by-id/usb-FTDI_USB__-__Serial-if00-port0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
|
||||||
|
|
||||||
flsmart: $(PROJECT).hex Makefile
|
|
||||||
$(AVRDUDE) -p m88 -F -P /dev/ttyUSB0 -c stk500v2 -v -v -U flash:w:$(PROJECT).hex
|
|
||||||
|
|
||||||
flusbasp: $(PROJECT).hex Makefile
|
|
||||||
$(AVRDUDE) -p m88 -F -c usbasp -v -v -U flash:w:$(PROJECT).hex
|
|
||||||
|
|
||||||
.PHONY : clean all fuse flash fljohn
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user