Skip to content

Commit 2f264d3

Browse files
committed
Add BOOT button
1 parent 97f3d0f commit 2f264d3

File tree

2 files changed

+4
-0
lines changed
  • ports/espressif/boards

2 files changed

+4
-0
lines changed

ports/espressif/boards/weact_esp32c6_n4/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3030
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
3131

32+
{ MP_ROM_QSTR(MP_QSTR_BOOT), MP_ROM_PTR(&pin_GPIO9) },
33+
3234
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) },
3335
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) },
3436
{ MP_ROM_QSTR(MP_QSTR_IO2), MP_ROM_PTR(&pin_GPIO2) },

ports/espressif/boards/weact_esp32c6_n8/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3030
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
3131

32+
{ MP_ROM_QSTR(MP_QSTR_IO9), MP_ROM_PTR(&pin_GPIO9) },
33+
3234
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) },
3335
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) },
3436
{ MP_ROM_QSTR(MP_QSTR_IO2), MP_ROM_PTR(&pin_GPIO2) },

0 commit comments

Comments
 (0)