patch #9816: Implement new programmer type: linuxspi

* linuxspi.c: (New file.)
* linuxspi.h: (New file.)
* Makefile.am: Add new files
* configure.ac: Add "linuxspi" --enable option
* avrdude.conf.in: Add "linuxspi" programmer template
* pgm_type.c: Include linuxspi programmer
* doc/avrdude.texi: Document new programmer
* avrdude.1: (Dito.)

Submitted by Ralf Ramsauer



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1447 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch
2020-09-19 21:32:38 +00:00
parent 9b3762a812
commit 40b0b104d6
10 changed files with 456 additions and 2 deletions

View File

@@ -1487,6 +1487,23 @@ programmer
# miso = ?;
#;
# This programmer uses the built in linux SPI bus devices to program an
# attached AVR. A GPIO accessed through the sysfs GPIO interface needs to
# be specified for a reset pin since the linux SPI userspace functions do
# not allow for control over the slave select/chip select signal.
#
# To use it, copy this snippet into your ~/.avrduderc, make sure the
# 'reset' entry is configured correctly.
#
# programmer
# id = "linuxspi";
# desc = "Use Linux SPI device in /dev/spidev*";
# type = "linuxspi";
# reset = 25;
# baudrate=400000;
# ;
# some ultra cheap programmers use bitbanging on the
# serialport.
#