Skip to content

Commit

Permalink
Merge pull request #9858 from Timeline8/Waveshare-S3-Zero-pins.c-addi…
Browse files Browse the repository at this point in the history
…ng-BUTTON-&-D0-to-GPIO0

Update Waveshare S3 Zero pins.c to add BOOT button
  • Loading branch information
tannewt authored Dec 9, 2024
2 parents 7171bcc + 9fe82fe commit 4c0fb4c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ports/espressif/boards/waveshare_esp32_s3_zero/pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
static const mp_rom_map_elem_t board_module_globals_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS

// BOOT button labeled simply as "B" on silkscreen
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO0) },

// Top side of the board - left column
// (top to bottom, preceded by 5V, GND & 3.3V)
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) },
Expand Down

0 comments on commit 4c0fb4c

Please sign in to comment.