Skip to content

Commit 3b057a6

Browse files
committed
Add pin 38 for SDIO
1 parent 7e992c8 commit 3b057a6

File tree

1 file changed

+3
-1
lines changed
  • ports/espressif/boards/waveshare_esp32_s3_geek

1 file changed

+3
-1
lines changed

ports/espressif/boards/waveshare_esp32_s3_geek/pins.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
3636
{ MP_ROM_QSTR(MP_QSTR_IO18), MP_ROM_PTR(&pin_GPIO18) },
3737
{ MP_ROM_QSTR(MP_QSTR_IO21), MP_ROM_PTR(&pin_GPIO21) },
3838
{ MP_ROM_QSTR(MP_QSTR_IO33), MP_ROM_PTR(&pin_GPIO33) },
39-
// 34-37 SD
39+
// 34-38 SD
4040
{ MP_ROM_QSTR(MP_QSTR_IO34), MP_ROM_PTR(&pin_GPIO34) },
4141
{ MP_ROM_QSTR(MP_QSTR_IO35), MP_ROM_PTR(&pin_GPIO35) },
4242
{ MP_ROM_QSTR(MP_QSTR_IO36), MP_ROM_PTR(&pin_GPIO36) },
4343
{ MP_ROM_QSTR(MP_QSTR_IO37), MP_ROM_PTR(&pin_GPIO37) },
44+
{ MP_ROM_QSTR(MP_QSTR_IO37), MP_ROM_PTR(&pin_GPIO38) },
4445

4546
// 43-44 UART
4647
{ MP_ROM_QSTR(MP_QSTR_IO43), MP_ROM_PTR(&pin_GPIO43) },
@@ -62,6 +63,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
6263
{ MP_ROM_QSTR(MP_QSTR_SD_MISO), MP_ROM_PTR(&pin_GPIO37)},
6364
{ MP_ROM_QSTR(MP_QSTR_SD_CS), MP_ROM_PTR(&pin_GPIO34)},
6465
{ MP_ROM_QSTR(MP_QSTR_SD_SPI), MP_ROM_PTR(&board_spi_obj) },
66+
// Pin 38 is for the SDIO interface, and therefore not included in the SPI object
6567

6668
// LCD
6769
{ MP_ROM_QSTR(MP_QSTR_LCD_MOSI), MP_ROM_PTR(&pin_GPIO11) },

0 commit comments

Comments
 (0)