Skip to content

Commit 41ee1e0

Browse files
authored
Merge pull request #8286 from kattni/metro-esp32-s3-sd-cs-pin
Add SD_CS pin to Metro ESP32-S3 board definition.
2 parents c75640e + 3012c27 commit 41ee1e0

File tree

1 file changed

+2
-0
lines changed
  • ports/espressif/boards/adafruit_metro_esp32s3

1 file changed

+2
-0
lines changed

ports/espressif/boards/adafruit_metro_esp32s3/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
7272
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCL),MP_ROM_PTR(&pin_GPIO48) },
7373
{ MP_OBJ_NEW_QSTR(MP_QSTR_IO48),MP_ROM_PTR(&pin_GPIO48) },
7474

75+
{ MP_OBJ_NEW_QSTR(MP_QSTR_SD_CS),MP_ROM_PTR(&pin_GPIO21) },
76+
7577
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_GPIO36) },
7678
{ MP_OBJ_NEW_QSTR(MP_QSTR_IO36), MP_ROM_PTR(&pin_GPIO36) },
7779

0 commit comments

Comments
 (0)