rp2: Increase ext pins from 10 to 32.

To allow more pins when other ways are used to provide external GPIO (ie
not via cyw43).

Signed-off-by: Christopher Parrott <chris@pimoroni.com>
This commit is contained in:
ZodiusInfuser 2024-09-05 12:54:15 +01:00 committed by Damien George
parent 5dfd3ecd8b
commit 79ba6d8ce7

View File

@ -10,8 +10,8 @@ import boardgen
# This is NUM_BANK0_GPIOS. Pin indices are 0 to 29 (inclusive). # This is NUM_BANK0_GPIOS. Pin indices are 0 to 29 (inclusive).
NUM_GPIOS = 30 NUM_GPIOS = 30
# Up to 10 additional extended pins (e.g. via the wifi chip). # Up to 32 additional extended pins (e.g. via the wifi chip or io expanders).
NUM_EXT_GPIOS = 10 NUM_EXT_GPIOS = 32
class Rp2Pin(boardgen.Pin): class Rp2Pin(boardgen.Pin):