The SD_MMC library uses a different mechanism to access the SD card than the SD library, so it is highly unlikely that you can access the SD card using both, you will need to opt for one or the other depending on yor hardware I believe. This probably explains why you have to reinsert the SD card - though I wouldn't have expected both libraries to work.
Hi there,
You may need to roll back the esp32 library, Look at some of the compiler outputs and see the versions etc.
-esp32c3-with-round-display-and-sd-card-gif-viewer-example/272381?u=pj_glasso
What error are you getting.
HTH
GL PJ
Hi pio community,
I have a piece of code with the espressif SD_MMC library that is working perfectly when I upload it from Arduino IDE but when I upload it from PlatformIO the board become irresponsive after the SD_MMC.begin(). Extract of the code:
I'm using Espressif esp32 library. My app work in progress but it is already able to streaming real-time on a WebViewer, capture and save jpegs on SPIFFS as well as SD (SD_MMC lib), list, rename or delete those files in SD. Now I'd like to be able to choose a jpeg from the SD list (not an issue) and visualize it on my phone.
I tried to add ESPAsyncWebServer in order to include a WebServer for streamFile() call