firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Lilygo shield (SD_MMC Version) - "Mass Storage" does not work

Open alrek12345 opened this issue 1 month ago • 2 comments

Hi

I have t-display-s3 and Lilygo shield (SD_MMC Version) ( in code variable USE_SD_MMC=1 ).

Why doesn't it work usb Mass Storage for SD_MMC ?

In code src/core/menu_items/FileMenu.cpp, the menu addition line contains the condition

#if defined(ARDUINO_USB_MODE) && !defined(USE_SD_MMC)
    options.push_back({"Mass Storage", [=]() { MassStorage(); }});
#endif

If I remove this condition "!defined(USE_SD_MMC)", the menu "Mass Storage" is added, but when I selected, in Windows 10, the device appears and immediately disappears. And the usb disk is not visible.

Does using SD_MMC mode require a different algorithm for detecting usb disk and working with the SD card?

alrek12345 avatar Nov 24 '25 10:11 alrek12345

SDMMC until esp-idf 4.4.x doesn't have usb mass Storage..

The version on Beta uses IDF 5.5, and mass storage will be available in this version (if it is not, it will be)

Launcher already supports it

bmorcelli avatar Nov 24 '25 12:11 bmorcelli

@bmorcelli Thank you for answer!

alrek12345 avatar Nov 24 '25 13:11 alrek12345