Skip to content

SDFAT2 does not seem to compile for ESP8266 or ESP32 #76

@dreamer1234

Description

@dreamer1234

Hello,

When I choose STORAGE_SDFAT2, I'm getting this compilation error:

Compiling .pio\build\esp12e\lib0ed\ESP8266WiFi\WiFiServerSecureBearSSL.cpp.o
src\FTPServer.cpp: In member function 'bool FtpServer::openFile(char*, int)':
src\FTPServer.cpp:2323:50: error: no match for 'operator=' (operand types are 'FsFile' and 'File32')
2323 | file = STORAGE_MANAGER.open( path, readTypeInt );

But If I choose STORAGE_SD, everything is fine.

I'd like to make it work with the SDFAT library since I understand is a lot faster than the SD one. The thing is that the SDFAT library has had some recent pushes with important changes.

Could you check if it still works of if it's something broken?

Thanks so much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions