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
@@ -119,7 +119,7 @@ static inline mp_uint_t mp_hal_get_cpu_freq(void) {
|
||||
#define MP_HAL_PIN_PULL_UP (1)
|
||||
#define MP_HAL_PIN_PULL_DOWN (2)
|
||||
|
||||
extern uint32_t machine_pin_open_drain_mask;
|
||||
extern uint64_t machine_pin_open_drain_mask;
|
||||
|
||||
mp_hal_pin_obj_t mp_hal_get_pin_obj(mp_obj_t pin_in);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user