mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 01:40:14 +01:00
rp2: Add support for 48-pin RP2350 variant.
Update NUM_GPIOS to match NUM_BANK0_GPIOS, and increase bit-width of variables that store pin numbers. Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
committed by
Damien George
parent
d2c85c74da
commit
6d39418f69
@@ -9,7 +9,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../../tools"))
|
||||
import boardgen
|
||||
|
||||
# This is NUM_BANK0_GPIOS. Pin indices are 0 to 29 (inclusive).
|
||||
NUM_GPIOS = 30
|
||||
NUM_GPIOS = 48
|
||||
# Up to 32 additional extended pins (e.g. via the wifi chip or io expanders).
|
||||
NUM_EXT_GPIOS = 32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user