mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
avr: use linuxspi as programmer
Yes, that's pretty cool :-) Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
parent
23166516f1
commit
4f034def73
@ -35,7 +35,7 @@ $(TARGET).hex: $(TARGET).elf
|
|||||||
$(OBJCOPY) -O ihex -R .eeprom $^ $@
|
$(OBJCOPY) -O ihex -R .eeprom $^ $@
|
||||||
|
|
||||||
program: $(TARGET).hex
|
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:
|
clean:
|
||||||
rm -f $(OBJS)
|
rm -f $(OBJS)
|
||||||
|
Loading…
Reference in New Issue
Block a user