diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2021-02-05 12:12:55 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-05 12:12:55 -0800 |
| commit | c6a7b00030ffd8d7a9f566622fc12fcc3fd0e85b (patch) | |
| tree | 9838622209789c593c505c68352bd3044e81f435 | |
| parent | e7438c481e82de3257f909a9dfb5e67fc4274af8 (diff) | |
| parent | 1292c35d59aaedaddf9b7b3df5640f1473a8826b (diff) | |
Merge pull request #4137 from ferret-guy/smps-mode-pin-rpi-pico
Add SMPS mode pin to Raspi Pico pins.c
| -rw-r--r-- | ports/raspberrypi/boards/raspberry_pi_pico/pins.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/raspberrypi/boards/raspberry_pi_pico/pins.c b/ports/raspberrypi/boards/raspberry_pi_pico/pins.c index 95890ab5e..e1927bc80 100644 --- a/ports/raspberrypi/boards/raspberry_pi_pico/pins.c +++ b/ports/raspberrypi/boards/raspberry_pi_pico/pins.c @@ -24,6 +24,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = { { MP_ROM_QSTR(MP_QSTR_GP20), MP_ROM_PTR(&pin_GPIO20) }, { MP_ROM_QSTR(MP_QSTR_GP21), MP_ROM_PTR(&pin_GPIO21) }, { MP_ROM_QSTR(MP_QSTR_GP22), MP_ROM_PTR(&pin_GPIO22) }, + { MP_ROM_QSTR(MP_QSTR_SMPS_MODE), MP_ROM_PTR(&pin_GPIO23) }, { MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO25) }, { MP_ROM_QSTR(MP_QSTR_GP25), MP_ROM_PTR(&pin_GPIO25) }, { MP_ROM_QSTR(MP_QSTR_GP26_A0), MP_ROM_PTR(&pin_GPIO26) }, |
