Skip to content

Commit

Permalink
avrdude.conf: move raspberry_pi_gpio reset, add prog_modes, reformat
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
SebKuzminsky committed Mar 16, 2023
1 parent 5abbefe commit bfb7955
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/avrdude.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -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@

Expand Down

0 comments on commit bfb7955

Please sign in to comment.