mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +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
@@ -49,7 +49,7 @@ typedef struct _machine_pin_af_obj_t {
|
||||
typedef struct _machine_pin_obj_t {
|
||||
mp_obj_base_t base;
|
||||
qstr name;
|
||||
uint8_t id : 5;
|
||||
uint8_t id : 6;
|
||||
#if MICROPY_HW_PIN_EXT_COUNT
|
||||
uint8_t is_ext : 1;
|
||||
uint8_t is_output : 1;
|
||||
|
||||
Reference in New Issue
Block a user