mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-19 11:36:24 +00:00
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:
@@ -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.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user