

The baud rate switch can be used to change the frequency at which the SPI bus operates. The port switch is used to direct the linuxspi programmer to which SPI bus to use. I think this is useful on many levels, including being able to embed an AVR onto a computer with spidev support and have it be in-system programmable by executing a userspace program. While this doesn't have much application for desktop or laptop computers, for single-board linux computers such as the Raspberry Pi or Beaglebone, it allows the single-board computer to be used as a stand-alone AVR programmer with little to no extra hardware. The linuxspi programmer type allows avrdude to use the built-in spidev userspace SPI drivers on linux to communicate to an attached AVR. I had talked about it a bit on the mailing list back in May, but now I have finally gotten around to sending the patch.


I have attached my patch as an attachment.Īs documented at and, I have created a linuxspi programmer type and added it to avrdude. I apologize if this isn't what is supposed to go in the "Original Submission" field.
SPI PROGRAMMER LINUX HOW TO
I've been sitting on this a little while, but I just discovered how to submit a patch.
