From 4f034def73d92c5271c072a3c477a9b03c2f5512 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Mon, 3 Sep 2018 20:27:14 +0000 Subject: [PATCH] avr: use linuxspi as programmer Yes, that's pretty cool :-) Signed-off-by: Ralf Ramsauer --- avr-code/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avr-code/Makefile b/avr-code/Makefile index 6a5f156..1a9365e 100644 --- a/avr-code/Makefile +++ b/avr-code/Makefile @@ -35,7 +35,7 @@ $(TARGET).hex: $(TARGET).elf $(OBJCOPY) -O ihex -R .eeprom $^ $@ program: $(TARGET).hex - $(AVRDUDE) -p $(AVRDUDE_MCU) -P usb -c avrispmkII -U flash:w:$^ + $(AVRDUDE) -p $(AVRDUDE_MCU) -c linuxspi -P /dev/spidev0.0 -U flash:w:$^ clean: rm -f $(OBJS)