Skip to content

Commit ffaad96

Browse files
committed
fix for GPIO0 / CIRCUITPY_BOOT_BUTTON
1 parent da1e29d commit ffaad96

File tree

1 file changed

+1
-1
lines changed
  • ports/esp32s2/boards/lolin_s2_mini

1 file changed

+1
-1
lines changed

ports/esp32s2/boards/lolin_s2_mini/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
44
// S2 Mini Board bottom, right, top-bottom
55
// GPIO0-GPIO14: broken out as a bloc on ESP32-S2FN4R2 SoC
66
// mpconfigboard.h: GPIO0: CIRCUITPY_BOOT_BUTTON
7-
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO0) }, // EN
7+
{ MP_ROM_QSTR(MP_QSTR_IO0), MP_ROM_PTR(&pin_GPIO0) }, // RTC_GPIO0,GPIO0
88
// mpconfigboard.h: GPIO1: MICROPY_HW_NEOPIXEL
99
{ MP_ROM_QSTR(MP_QSTR_IO1), MP_ROM_PTR(&pin_GPIO1) }, // RTC_GPIO1,GPIO1,TOUCH1,ADC1_CH0
1010

0 commit comments

Comments
 (0)