SPIFFS: default example gives wrong info about partition sizes
Posted: Wed Sep 18, 2019 3:28 pm
Hi,
I'm using next example:
https://github.com/espressif/esp-idf/tr ... age/spiffs
My default output:
Size of partition havent strictly defined, but why couple files with size ~15 bytes cunsumes 502 bytes?
I know that filesystem reqires some extra space for internal needes, but isn't that too much, more then x10 of files size itself?
And second question.
I have strictly define size of spiffs partition:
0x270000 = 2555904 bytes.
but here is output:
2342081 = 0x23BCC1
Where from comes this number and what does it actually show?
I'm using next example:
https://github.com/espressif/esp-idf/tr ... age/spiffs
My default output:
Code: Select all
example: Initializing SPIFFS
example: Partition size: total: 896321, used: 502
I know that filesystem reqires some extra space for internal needes, but isn't that too much, more then x10 of files size itself?
And second question.
I have strictly define size of spiffs partition:
Code: Select all
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x170000,
storage, data, spiffs, 0x180000, 0x270000,
but here is output:
Code: Select all
example: Initializing SPIFFS
example: Partition size: total: 2342081, used: 502
Where from comes this number and what does it actually show?