From 79fb5aa8789e71c9bcd8430b58267d96552be94f Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Wed, 5 Feb 2025 15:16:47 +1100 Subject: esp32/machine_sdcard: Add SDCard pin assignments for ESP32-S3 support. Previously ESP32-S3 SDMMC could only use fixed pin assignments, however the ESP-IDF defaults don't match common boards. The chip also supports using GPIO Matrix to assign any pin. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton --- docs/esp32/quickref.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/esp32') diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index 0780e0130..d65782e50 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -747,7 +747,7 @@ See :ref:`machine.SDCard `. :: import machine, os, vfs - # Slot 2 uses pins sck=18, cs=5, miso=19, mosi=23 + # On original ESP32, slot 2 uses pins sck=18, cs=5, miso=19, mosi=23 sd = machine.SDCard(slot=2) vfs.mount(sd, '/sd') # mount -- cgit v1.2.3