mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-10-31 22:47:05 +01:00
avr: choose our own programmer
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
9f3062340c
commit
d5a41a596d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user