mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-23 09:36:24 +03:00
extend max pin number to 1000
Some embedded computers with GPIO are using very large pin numbers. For example, the pins on the LePotato SBC use numbers in the 400's. Extending this max value makes is possible for users to make custom avrdude.conf additions that use this pins. Le Potato board: https://libre.computer/products/aml-s905x-cc/ Le Potato pin numbering reference: https://docs.google.com/spreadsheets/d/1U3z0Gb8HUEfCIMkvqzmhMpJfzRqjPXq7mFLC-hvbKlE
This commit is contained in:
@@ -428,7 +428,7 @@ enum {
|
||||
#ifdef HAVE_LINUXGPIO
|
||||
/* Embedded systems might have a lot more gpio than only 0-31 */
|
||||
#undef PIN_MAX
|
||||
#define PIN_MAX 400 /* largest allowed pin number */
|
||||
#define PIN_MAX 1000 /* largest allowed pin number */
|
||||
#endif
|
||||
|
||||
/** Number of pins in each element of the bitfield */
|
||||
|
||||
Reference in New Issue
Block a user