LITTLEFS icon indicating copy to clipboard operation
LITTLEFS copied to clipboard

Arduino framework 3.5.0 vfs_api change

Open vojmar opened this issue 3 years ago • 1 comments

In the newly released Arduino framework the vfs_api.h open functions header changes such that it takes a mandatory additional parameter. FileImplPtr open(const char* path, const char* mode, const bool create) override; This caused a problem in LITTLEFS.cpp line 44 where third parameter is not provided.

Suggested fix

By providing third parameter as false the file should not be created when checking with exist function. Please verify and implement, also make sure its not breaking the older versions.

vojmar avatar Jul 02 '22 07:07 vojmar

I wish they would have made the parameter optional

juandelacruz-calvo avatar Dec 05 '22 19:12 juandelacruz-calvo