Skip to content

File create fails on flash encrypted partition #226

Description

@gw8484

I am testing LittleFS 1.16.0 with Arduino 2.0.14/ESP-IDF 4.4.6 on a ESP32-C3 flash encrypted partition. It seems to work fine for file and directory read operations. However simple file create operation:

File dstFile = LittleFS.open("/copy.txt", FILE_WRITE);

always fails with error result like:

[E][vfs_api.cpp:332] VFSFileImpl(): fopen(/ffs/copy.txt) failed

Is this expected behavior? I have not being able to any concrete documentation on the topic. Is there a way to make file create and write operations work on encrypted partition? Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions