esp-idf/components/esp_driver_sdspi
Ivan Grokhotkov 30abe85a25
ci(sdspi): clean up newlib memory, reset between tests
Two changes to make the tests less susceptible to random failures:
- Free up newlib memory to not have false-positive memory leaks due to
  lazy allocations in reent structure
- Reset between tests, so that one failing test doesn't cause
  subsequent tests to fail

Both changes are already applied to esp_driver_sdmmc test app.
2024-05-02 16:44:16 +02:00
..
include/driver feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
src feat(dma): refactor dma calloc function 2024-04-02 14:30:14 +08:00
test_apps ci(sdspi): clean up newlib memory, reset between tests 2024-05-02 16:44:16 +02:00
CMakeLists.txt refactor(sdspi): place sdspi driver into a new component 2023-11-20 12:30:03 +08:00
README.md feat(sd): added readme for dependency among SD host related components 2023-11-20 12:30:03 +08:00

SDSPI Host Driver

SD Host side related components are:

  • sdmmc
  • esp_driver_sdmmc
  • esp_driver_sdspi (current component)

For relationship and dependency among these components, see SD Host Side Related Component Architecture.

esp_driver_sdspi components is a driver based on ESP GPSPI master driver to help you:

  • do SD transactions (under SDSPI mode) via ESP GPSPI peripheral.
  • tune ESP GPSPI hardware configurations, such as clock frequency, bus width, etc.
  • ...

You can

  • use this driver to implement sdmmc protocol interfaces
  • directly use esp_driver_sdspi APIs

to communicate with SD slave devices under SDSPI mode.