The SDMMC code should be excluded from compilation when CONFIG_LITTLEFS_SDMMC_SUPPORT is off. I am using PlatformIO + Arduino as an ESP-IDF component setup, which, currently stays at IDF v4.4.5. The SDMMC code was compiled anyway, throwing lots of errors. This pull request solves this and makes the library usable with IDF v4.
The SDMMC code should be excluded from compilation when
CONFIG_LITTLEFS_SDMMC_SUPPORT
is off. I am using PlatformIO + Arduino as an ESP-IDF component setup, which, currently stays at IDF v4.4.5. The SDMMC code was compiled anyway, throwing lots of errors. This pull request solves this and makes the library usable with IDF v4.