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:
parent
5dfd3ecd8b
commit
79ba6d8ce7
@ -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):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user