From ca90c6ae8af14c1770637c68485fed8b88e0b3b3 Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 23 Oct 2022 22:56:31 +0200 Subject: [PATCH] Makefile: use only one way to flash --- firmware/Makefile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/firmware/Makefile b/firmware/Makefile index 3b6592a..d26ee92 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -68,17 +68,9 @@ clean: fuse: $(AVRDUDE) -p m88 -F -c usbtiny -v -v -U $(FUSES) +# flash via Arduino Uno or similar 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 - $(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 +.PHONY : clean all fuse flash