Error esp_littlefs.c 'utime_p'
solroshan opened this issue · comments
Hello Khoih,
First of all thank you for this great library shared with us.
If i can, i'll gonna use your library for my home project but i could not build any examples. Checked closed issues for fix by myself but im newbie little bit, maybe you know the way to fix.
Im using PlatformIO on Atom in ubuntu.
Im not writing all this 665 lines for not to pollute the post //And dont know how can I write beautiful yet.
Example is Async_AutoConnect.ino under the "examples" i just copied and pasted with any changes.
Build is giving this results;
I can see something wrong with all littlefs but don't know how to fix.
I want to autoconnect my iot and watching online sensor data am I on right way? :))
Hello again, I'm here to close this issue.
Solution shared by littlefs library owner, @lorol.
go to LittleFS_esp32 /src/esp_littlefs.c
and uncomment line #define CONFIG_LITTLEFS_FOR_IDF_3_2
Thanks for your using this library and your nice words.
I think there is something wrong with your PIO installation and/or the PIO version of very-new LittleFS_esp32. It's really difficult to guess which.
I suggest you try these options:
- Using the AutoConnect minimal version Async_AutoConnect_ESP32_minimal
- Using default ESP32's SPIFFS by modifying the code Async_AutoConnect.ino#L54-L55
from
#define USE_LITTLEFS true
#define USE_SPIFFS false
to
#define USE_LITTLEFS false
#define USE_SPIFFS true
It's also advisable that you use the Arduino IDE
Good Luck,
You're so good and not a newbie. I'm slower than you many steps.
Your contribution has been noted in
Regards,
Oh, my bad. I did not well look into your notes. I see, you wrote everything before bigbang :embarrassed:
Also, I feel proud to see my name in this clean work's Contributions and Thanks section. 🥇