Skip to content

Commit

Permalink
Merge pull request #9895 from dhalbert/metro-rp2350-fixes
Browse files Browse the repository at this point in the history
Metro RP2350: add board.BUTTON and board.BOOT
  • Loading branch information
tannewt authored Dec 17, 2024
2 parents 00562a3 + dbe0c5e commit fe0f7f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ports/raspberrypi/boards/adafruit_metro_rp2350/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO23) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_D23), MP_ROM_PTR(&pin_GPIO23) },

{ MP_OBJ_NEW_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO24) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_BOOT), MP_ROM_PTR(&pin_GPIO24) },

{ MP_OBJ_NEW_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO20) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_GPIO20) },

Expand Down

0 comments on commit fe0f7f9

Please sign in to comment.