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)