diff options
author | Angus Gratton <angus@redyak.com.au> | 2025-02-05 15:16:47 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-03-13 12:27:01 +1100 |
commit | 79fb5aa8789e71c9bcd8430b58267d96552be94f (patch) | |
tree | 2a371b8a67d1ac81a67ced30702ef3d1a546c146 /docs/esp32 | |
parent | 4d65b4e26119ab19de362174ec62cc3ea68a836a (diff) | |
download | micropython-79fb5aa8789e71c9bcd8430b58267d96552be94f.tar.gz micropython-79fb5aa8789e71c9bcd8430b58267d96552be94f.zip |
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 <angus@redyak.com.au>
Diffstat (limited to 'docs/esp32')
-rw-r--r-- | docs/esp32/quickref.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/esp32/quickref.rst b/docs/esp32/quickref.rst index 0780e01300..d65782e501 100644 --- a/docs/esp32/quickref.rst +++ b/docs/esp32/quickref.rst @@ -747,7 +747,7 @@ See :ref:`machine.SDCard <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 |