mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 17:46:33 +03:00
avrdude.conf: move raspberry_pi_gpio reset, add prog_modes, reformat
This makes the raspberry_pi_gpio programmer work on older Pis with the smaller 26-pin GPIO header. Updates based on code review by Hans (MCUdude).
This commit is contained in:
@@ -725,15 +725,17 @@ programmer
|
||||
# # Program from a Raspberry Pi GPIO port using linuxgpio
|
||||
# #------------------------------------------------------------
|
||||
#
|
||||
|
||||
programmer
|
||||
id = "raspberry_pi_gpio";
|
||||
desc = "Bitbang Raspberry Pi GPIO via linuxgpio (sysfs or libgpiod)";
|
||||
type = "linuxgpio";
|
||||
connection_type = linuxgpio;
|
||||
reset = 12;
|
||||
sck = 24;
|
||||
sdo = 23;
|
||||
sdi = 18;
|
||||
id = "raspberry_pi_gpio";
|
||||
desc = "Bitbang Raspberry Pi GPIO via linuxgpio (sysfs or libgpiod)";
|
||||
type = "linuxgpio";
|
||||
prog_modes = PM_ISP;
|
||||
connection_type = linuxgpio;
|
||||
reset = 22;
|
||||
sck = 24;
|
||||
sdo = 23;
|
||||
sdi = 18;
|
||||
;
|
||||
@HAVE_LINUXGPIO_END@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user