Skip to content

Commit 53de300

Browse files
committed
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
1 parent 03132d7 commit 53de300

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2021-11-27 Joerg Wunsch <[email protected]>
2+
3+
bug #58440: linuxgpio PIN limit too low
4+
* libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400
5+
16
2021-11-27 Joerg Wunsch <[email protected]>
27

38
Submitted by David Mosberger-Tang:

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Current:
7777
bug #50630: Erase Cycle Counter options ( -y -Y n ) should be removed from usage Message
7878
bug #48767: ser_drain() for TCP on Windows doesn't work
7979
bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error
80+
bug #58440: linuxgpio PIN limit too low
8081

8182
* Patches:
8283
patch #9482: Add support for UPDI and AVR8X

libavrdude.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ enum {
369369
#ifdef HAVE_LINUXGPIO
370370
/* Embedded systems might have a lot more gpio than only 0-31 */
371371
#undef PIN_MAX
372-
#define PIN_MAX 255 /* largest allowed pin number */
372+
#define PIN_MAX 400 /* largest allowed pin number */
373373
#endif
374374

375375
/** Number of pins in each element of the bitfield */

0 commit comments

Comments
 (0)