Skip to content

Commit e9e2d85

Browse files
authored
Merge pull request #6657 from nitz/adafruit-magtag-2.9-add-boot0
Adds `BOOT0` (`GPIO0`) as a named pin for MagTag.
2 parents 2704ad7 + 2a9d3c5 commit e9e2d85

File tree

1 file changed

+2
-0
lines changed
  • ports/espressif/boards/adafruit_magtag_2.9_grayscale

1 file changed

+2
-0
lines changed

ports/espressif/boards/adafruit_magtag_2.9_grayscale/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3737
{ MP_ROM_QSTR(MP_QSTR_BUTTON_D), MP_ROM_PTR(&pin_GPIO11) },
3838
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO11) },
3939

40+
{ MP_ROM_QSTR(MP_QSTR_BOOT0), MP_ROM_PTR(&pin_GPIO0) },
41+
4042
{ MP_ROM_QSTR(MP_QSTR_LIGHT), MP_ROM_PTR(&pin_GPIO3) },
4143
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_GPIO3) },
4244

0 commit comments

Comments
 (0)