From 79ba6d8ce7f322baa8d606e52672c1bd4b245bb0 Mon Sep 17 00:00:00 2001 From: ZodiusInfuser Date: Thu, 5 Sep 2024 12:54:15 +0100 Subject: [PATCH] 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 --- ports/rp2/boards/make-pins.py | 4 ++-- 1 file 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):