From 14ddb6bdd5370da02a2666e62992a7fd06b3ad5c Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Fri, 27 Sep 2024 16:45:55 -0700 Subject: [PATCH] Add IO4 and IO7 to Feather RP2350 These match the silkscreen but not the standard feather pin naming D12 and D13 are left so code is compatible. Brought up on the forums: https://forums.adafruit.com/viewtopic.php?p=1030324 --- ports/raspberrypi/boards/adafruit_feather_rp2350/pins.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ports/raspberrypi/boards/adafruit_feather_rp2350/pins.c b/ports/raspberrypi/boards/adafruit_feather_rp2350/pins.c index 607698cc7467..064411271e2b 100644 --- a/ports/raspberrypi/boards/adafruit_feather_rp2350/pins.c +++ b/ports/raspberrypi/boards/adafruit_feather_rp2350/pins.c @@ -30,7 +30,9 @@ static const mp_rom_map_elem_t board_module_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_PTR(&pin_GPIO9) }, { MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_PTR(&pin_GPIO10) }, { MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO11) }, + { MP_ROM_QSTR(MP_QSTR_IO4), MP_ROM_PTR(&pin_GPIO4) }, { MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO4) }, + { MP_ROM_QSTR(MP_QSTR_IO7), MP_ROM_PTR(&pin_GPIO7) }, { MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO7) }, { MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO7) },