diff options
author | ZodiusInfuser <christopher.parrott2@gmail.com> | 2024-09-05 12:54:15 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-09-19 12:54:20 +1000 |
commit | 79ba6d8ce7f322baa8d606e52672c1bd4b245bb0 (patch) | |
tree | fa05e7bd646c43aaddc47c29aa460f9cc0fc0dc4 | |
parent | 5dfd3ecd8b1c99ae08ce082102606739bde57852 (diff) | |
download | micropython-79ba6d8ce7f322baa8d606e52672c1bd4b245bb0.tar.gz micropython-79ba6d8ce7f322baa8d606e52672c1bd4b245bb0.zip |
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>
-rwxr-xr-x | ports/rp2/boards/make-pins.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/rp2/boards/make-pins.py b/ports/rp2/boards/make-pins.py index cbc3424705..3acf5b9516 100755 --- a/ports/rp2/boards/make-pins.py +++ b/ports/rp2/boards/make-pins.py @@ -10,8 +10,8 @@ import boardgen # This is NUM_BANK0_GPIOS. Pin indices are 0 to 29 (inclusive). NUM_GPIOS = 30 -# Up to 10 additional extended pins (e.g. via the wifi chip). -NUM_EXT_GPIOS = 10 +# Up to 32 additional extended pins (e.g. via the wifi chip or io expanders). +NUM_EXT_GPIOS = 32 class Rp2Pin(boardgen.Pin): |