Skip to content

Commit 55f0a3b

Browse files
authored
Merge pull request #7372 from evildave666/fix-luatos-gpio11-and-flashmode
Fix Luatos Core-ESP32C3 GPIO11 and flash mode
2 parents 5a2eb22 + 7cfdd24 commit 55f0a3b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/espressif/boards/luatos_core_esp32c3/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ CIRCUITPY_CREATION_ID = 0x00C30001
33

44
IDF_TARGET = esp32c3
55

6-
CIRCUITPY_ESP_FLASH_MODE=qio
6+
CIRCUITPY_ESP_FLASH_MODE=dio
77
CIRCUITPY_ESP_FLASH_FREQ=80m
88
CIRCUITPY_ESP_FLASH_SIZE=4MB

ports/espressif/boards/luatos_core_esp32c3/pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
2424
{ MP_ROM_QSTR(MP_QSTR_BOOT0), MP_ROM_PTR(&pin_GPIO9) },
2525
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO9) },
2626
{ MP_ROM_QSTR(MP_QSTR_IO10), MP_ROM_PTR(&pin_GPIO10) },
27-
{ MP_ROM_QSTR(MP_QSTR_IO11), MP_ROM_PTR(&pin_GPIO11) },
27+
// IO11 used internally on this board version despite being broken out to a pin
2828
{ MP_ROM_QSTR(MP_QSTR_IO12), MP_ROM_PTR(&pin_GPIO12) },
2929
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO12) },
3030
{ MP_ROM_QSTR(MP_QSTR_IO13), MP_ROM_PTR(&pin_GPIO13) },

0 commit comments

Comments
 (0)