joltwallet / esp_littlefs

LittleFS port for ESP-IDF
MIT License
254 stars 95 forks source link

Disable SDMMC code when the configuration is off #175

Closed 45gfg9 closed 7 months ago

45gfg9 commented 7 months ago

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.

BrianPugh commented 7 months ago

thank you! This included in the new release v1.14.1!