-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using LittleFS with ESP32 but app still with SPIFFS+LittleFS #472
Comments
How to avoid the problem for now:You will need to employ one of the following two methods. The following workarounds have their limitations. Those limitations will be lifted in the next release as AutoConnect v1.3.4 and PageBuilder v 1.5.3.
|
Discussed in #471
Originally posted by HankLloydRight March 2, 2022
Hello,
I've converted my main ESP32 app to use LittleFS instead of SPIFFS, which is working great. But I still see SPIFFS being compiled in the dependency tree due to AutoConnect and Pagebuilder:
The code compiles clean and runs great, even with both SPIFFS and LITTLEFS in the tree. I'd like to figure out how to not have SPIFFS compiled into the code, hopefully freeing up some code and stack memory. For the record, I am not using any of the Autoconnect features of uploading files or custom web pages that actually need to write to the local FS.
I've read this entire page: https://hieromon.github.io/AutoConnect/filesystem.html#selecting-appropriate-filesystem and I've added this to my platformio.ini file:
But when I do that, I get a long list of compile errors (see below). I've search and search and tried everything I could find, but can't figure out how to get this to compile with only LITTLEFS. I'm sure it's probably one little thing that's triggering all these errors, but I sure can't figure it out. Help me Hieromon, you're my only hope!
Thank you, and thank you for your awesome library!
-HLR
The text was updated successfully, but these errors were encountered: