Giter VIP home page Giter VIP logo

Comments (11)

waymond91 avatar waymond91 commented on July 19, 2024 4

Im still running into this using platformio. Am I installing the wrong version?

from littlefs.

Michael2MacDonald avatar Michael2MacDonald commented on July 19, 2024 1

I have a PR located here (#56). It has been approved but no action has been taken to merge it for some reason.

from littlefs.

goblingift avatar goblingift commented on July 19, 2024

@tonyrewin - thanks for your bugfix. When will this gets released?

from littlefs.

Michael2MacDonald avatar Michael2MacDonald commented on July 19, 2024

Screw it. I am going to submit a fix today if possible.

from littlefs.

Michael2MacDonald avatar Michael2MacDonald commented on July 19, 2024

For some reason, I can't get the PR I created to show up here. If someone could help teach me how to do that or why it is not working then that would be great.

But my PR can be found here: #56

Please review and merge my PR so this tiny issue can finally be over!

EDIT: I got trigger happy and just realized that PR #49 exists!
Please merge one of these, or make the fix manually, and then close all the PRs and this issue!

from littlefs.

eatonJ avatar eatonJ commented on July 19, 2024

FYI ... I had this issue today and used this fix to correct the error . Thanks

from littlefs.

sommerper avatar sommerper commented on July 19, 2024

@eatonJ How did you fix it? I'm still getting the error when importing to PlatformIO. :-/
Latest release seems to be lorol/LittleFS_esp32@^1.0.6.

from littlefs.

zhaocundang avatar zhaocundang commented on July 19, 2024

yes, 2023 5-1 still error

from littlefs.

dharms87 avatar dharms87 commented on July 19, 2024

Tried to implement this library in a PlatformIO project. Received similar error messages posted above.

However, I noticed this message in the output when compiling:
LittleFS_esp32/src/esp_littlefs.c:19:2: warning: #warning ("Use the built-in LITTLEFS library") [-Wcpp]
#warning("Use the built-in LITTLEFS library")

After reviewing the "Built-In" portion of the supported libraries within PlatformIO. I noticed that LittleFS is built into the framework-arduinoespressif32.

My project compiled successfully after doing the following in my main.cpp file:
#include <LittleFS.h>

Then add the following in the platformio.ini file, under the lib_deps = LittleFS @ ^2.0.0

from littlefs.

gatti-d avatar gatti-d commented on July 19, 2024

Received similar error messages posted above.
The solution proposed by #dharms87 worked as well.
Thank you!

from littlefs.

urs8000 avatar urs8000 commented on July 19, 2024

still had the error compiling LITTLEFS_test.ino under Arduino 1.8.19
corrected as in first comment with ... in LITTLEFS.cpp
bool LITTLEFSImpl::exists(const char* path) { File f = open(path, "r", false); return (f == true); }

from littlefs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.