From 53de300b6e88f8011c384877f5da153faeff24a0 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sat, 27 Nov 2021 21:54:56 +0000 Subject: [PATCH] bug #58440: linuxgpio PIN limit too low * libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400 git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1502 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 5 +++++ NEWS | 1 + libavrdude.h | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2c00d507..b8f2db27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-11-27 Joerg Wunsch + + bug #58440: linuxgpio PIN limit too low + * libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400 + 2021-11-27 Joerg Wunsch Submitted by David Mosberger-Tang: diff --git a/NEWS b/NEWS index cce22bfb..6e17c3a8 100644 --- a/NEWS +++ b/NEWS @@ -77,6 +77,7 @@ Current: bug #50630: Erase Cycle Counter options ( -y -Y n ) should be removed from usage Message bug #48767: ser_drain() for TCP on Windows doesn't work bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error + bug #58440: linuxgpio PIN limit too low * Patches: patch #9482: Add support for UPDI and AVR8X diff --git a/libavrdude.h b/libavrdude.h index 1f0b7fcd..2431a218 100644 --- a/libavrdude.h +++ b/libavrdude.h @@ -369,7 +369,7 @@ enum { #ifdef HAVE_LINUXGPIO /* Embedded systems might have a lot more gpio than only 0-31 */ #undef PIN_MAX -#define PIN_MAX 255 /* largest allowed pin number */ +#define PIN_MAX 400 /* largest allowed pin number */ #endif /** Number of pins in each element of the bitfield */