Search found 3 matches

by bottleopener7s3
Fri Jul 25, 2025 8:28 am
Forum: ESP-IDF
Topic: How much space do I need to leave at the end of a partition?
Replies: 5
Views: 298

Re: How much space do I need to leave at the end of a partition?


Tha page size of the flash memory is actually 4k, i.e. 0x1000.
According to the docs, you don't need a free page if the partition is flagged read-only.


Could you link where it says that? It says you don’t need a free page, but it doesn’t init without error if it doesn’t have it. I don’t feel ...
by bottleopener7s3
Wed Jul 23, 2025 1:53 pm
Forum: ESP-IDF
Topic: How much space do I need to leave at the end of a partition?
Replies: 5
Views: 298

Re: How much space do I need to leave at the end of a partition?

It's occurred to me that ESP_ERR_NVS_NO_FREE_PAGES might mean that you need at least one page free.

Digging further it looks like a standard page size is 256 bytes:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-reference/storage/spiffs.html#mkspiffs

So in theory the maximum ...
by bottleopener7s3
Mon Jul 21, 2025 11:53 pm
Forum: ESP-IDF
Topic: How much space do I need to leave at the end of a partition?
Replies: 5
Views: 298

How much space do I need to leave at the end of a partition?

I'm flashing a bin to a nvs partition called 'mfg'.

I discovered (after much head bashing) that I cannot flash a bin to a partition that is the size of the partition. Otherwise you get a ESP_ERR_NVS_NO_FREE_PAGES error when you try to init the partition.

My partition table looks like this ...

Go to advanced search