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