fdcavalcanti opened a new pull request, #16725: URL: https://github.com/apache/nuttx/pull/16725
## Summary - documentation: update docs on SDMMC for ESP32C3|C6|H2 Adds sdmmc_spi defconfig documentation for ESP32C3, ESP32C6 and ESP32H2 boards. - boards/risc-v: add SDMMC defconfigs for ESP32C3|C6|H2 Adds defconfig to support SDMMC over SPI for esp32c3-generic, esp32c6-devkitc, esp32c6-devkitm and esp32h2-devkit. - boards/risc-v: add support for SD Card over SPI on ESP32-C3|C6|H2 Add board support for SD Card over SPI for ESP32C3, ESP32C6 and ESP32H2. This PR adds board support for SD Card over SPI interface for ESP32C3, ESP32C6 and ESP32H2. To support this out-of-the-box, a `sdmmc_spi` defconfig was created and the documentation updated. ## Impact - Impact on user: Yes. Adds a defconfig to support use of SD Card over SPI. - Impact on build: No. - Impact on hardware: Espressif RISC-V devices: ESP32C3, ESP32H2 and ESP32C6. - Impact on documentation: Yes, adds documentation for the new defconfigs on the proper board page. - Impact on security: No. - Impact on compatibility: No. ## Testing The following example can be replicated with ESP32C3, C6 and H2 devices. ### Building - `./tools/configure.sh esp32c3-generic:sdmmc_spi` - `make` and flash ### Running Check mmcsd0 is available: ``` nsh> ls /dev /dev: console mmcsd0 null spi2 ttyS0 zero ``` Then, mount FAT FS and SD Card content should appear. Read and write possible through echo and cat commands. ``` nsh> mount -t vfat /dev/mmcsd0 /mnt nsh> ls /mnt /mnt: hello.txt nsh> cat /mnt/hello.txt Hello World nsh> ``` ### Results It is possible to read and write data to the SD Card. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org