Skip to content
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

fixed small bug #43 #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixed small bug #43 #49

wants to merge 1 commit into from

Conversation

tonyrewin
Copy link

#43

@V1EngineeringInc
Copy link

Worked for me.

@waymond91
Copy link

Is there a reason this isnt going in?
I cant get a build to work without using this fix.
Am I using the wrong source?


.pio/libdeps/esp32dev/LittleFS_esp32/src/esp_littlefs.c:19:2: warning: #warning ("Use the built-in LITTLEFS library") [-Wcpp]
 #warning("Use the built-in LITTLEFS library")
  ^~~~~~~
Archiving .pio/build/esp32dev/libe19/libSPIFFS.a
Archiving .pio/build/esp32dev/lib6b2/libSD_MMC.a
Indexing .pio/build/esp32dev/libe19/libSPIFFS.a
Indexing .pio/build/esp32dev/lib6b2/libSD_MMC.a
Compiling .pio/build/esp32dev/lib7dc/LittleFS_esp32/lfs_util.c.o
Compiling .pio/build/esp32dev/lib7dc/LittleFS_esp32/littlefs_api.c.o
Compiling .pio/build/esp32dev/lib9d2/Preferences/Preferences.cpp.o
.pio/libdeps/esp32dev/LittleFS_esp32/src/LITTLEFS.cpp: In member function 'virtual bool LITTLEFSImpl::exists(const char*)':
.pio/libdeps/esp32dev/LittleFS_esp32/src/LITTLEFS.cpp:44:28: error: no matching function for call to 'LITTLEFSImpl::open(const char*&, const char [2])'
     File f = open(path, "r");
                            ^
In file included from .pio/libdeps/esp32dev/LittleFS_esp32/src/LITTLEFS.cpp:17:
/Users/brett/.platformio/packages/framework-arduinoespressif32/libraries/FS/src/vfs_api.h:38:17: note: candidate: 'virtual fs::FileImplPtr VFSImpl::open(const char*, const char*, bool)'
     FileImplPtr open(const char* path, const char* mode, const bool create) override;
                 ^~~~
/Users/brett/.platformio/packages/framework-arduinoespressif32/libraries/FS/src/vfs_api.h:38:17: note:   candidate expects 3 arguments, 2 provided
Compiling .pio/build/esp32dev/libfd1/Update/HttpsOTAUpdate.cpp.o
Compiling .pio/build/esp32dev/libfd1/Update/Updater.cpp.o
*** [.pio/build/esp32dev/lib7dc/LittleFS_esp32/LITTLEFS.cpp.o] Error 1

linkoab added a commit to linkoab/LITTLEFS that referenced this pull request Mar 31, 2023
linkoab added a commit to linkoab/LITTLEFS that referenced this pull request Mar 31, 2023
@JefersonDeLeon
Copy link

please merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants