From d5a41a596d18ea614edb767b311f707960e9f8e8 Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Fri, 7 Sep 2018 20:47:24 +0200 Subject: [PATCH] avr: choose our own programmer 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 1a9365e..74ea7dc 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) -c linuxspi -P /dev/spidev0.0 -U flash:w:$^ + $(AVRDUDE) -p $(AVRDUDE_MCU) -c linuxspi -P /dev/spidev0.0:/dev/gpiochip0:25 -U flash:w:$^ clean: rm -f $(OBJS)