Skip to content

Wrong "SPIFFS File system is full"? #2391

@Menion2k

Description

@Menion2k

Hardware:

Board: ESP32 Dev Module
Core Installation version: 1.0.1
IDE name: Arduino IDE 1.8.7
Flash Frequency: 80Mhz
PSRAM enabled: no
Upload Speed: 115200
Computer OS: Windows 10

Description:

mkspiffs 0.2.3 seems to report file system full even if it should not

I have a filesystem, flat, no directory, of size of 1249718 bytes (1306624 occupied on NTFS file system), composed by 27 files.
When trying to pack it with the command (that match the arduino default partition type);

mkspiffs.exe -c "c:\Users\silveria\Documents\sloeber-workspace\dimmer\data" -p 256 -b 4096 -s 1503232 data.bin
/bootstrap.min.css
/bootstrap.min.js
/Chart.bundle.js
/feather.min.js
/font1.woff2
/font10.woff2
/font11.woff2
/font12.woff2
/font13.woff2
/font14.woff2
/font15.woff2
/font2.woff2
/font3.woff2
/font4.woff2
/font5.woff2
/font6.woff2
/font7.woff2
/font8.woff2
/font9.woff2
/index.html
/jquery-3.3.1.min.js
SPIFFS_write error(-10001): File system is full.

error adding file!

1503232 is the SPIFFS reserved size, which is greater than the filesystem I am trying to create. Apparently somewhere after 1080KB the tool report File system is full. Moreover the SPIFFS is then compressed, so in the end more data can be stored
Bye

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions