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
This commit is contained in:
Joerg Wunsch 2021-11-27 21:54:56 +00:00
parent 03132d7338
commit 53de300b6e
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2021-11-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
bug #58440: linuxgpio PIN limit too low
* libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400
2021-11-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2021-11-27 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
Submitted by David Mosberger-Tang: Submitted by David Mosberger-Tang:

1
NEWS
View File

@ -77,6 +77,7 @@ Current:
bug #50630: Erase Cycle Counter options ( -y -Y n ) should be removed from usage Message 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 #48767: ser_drain() for TCP on Windows doesn't work
bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error bug #46759: avrdude 6.1 -> 6.2 regression: lock byte verification error
bug #58440: linuxgpio PIN limit too low
* Patches: * Patches:
patch #9482: Add support for UPDI and AVR8X patch #9482: Add support for UPDI and AVR8X

View File

@ -369,7 +369,7 @@ enum {
#ifdef HAVE_LINUXGPIO #ifdef HAVE_LINUXGPIO
/* Embedded systems might have a lot more gpio than only 0-31 */ /* Embedded systems might have a lot more gpio than only 0-31 */
#undef PIN_MAX #undef PIN_MAX
#define PIN_MAX 255 /* largest allowed pin number */ #define PIN_MAX 400 /* largest allowed pin number */
#endif #endif
/** Number of pins in each element of the bitfield */ /** Number of pins in each element of the bitfield */