Skip to content

Commit fcd5938

Browse files
committed
Use IO0 for safemode
1 parent 1e277f6 commit fcd5938

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ports/espressif/boards/wemos_lolin32_lite/mpconfigboard.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
#define MICROPY_HW_LED_STATUS (&pin_GPIO22)
3333
#define MICROPY_HW_LED_STATUS_INVERTED (1)
3434

35+
// For entering safe mode, use SW38 button
36+
#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)
37+
3538
// UART pins attached to the USB-serial converter chip
3639
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO1)
3740
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO3)

0 commit comments

Comments
 (0)