feat(nvs): Allow read-only NVS partitions smaller than 0x3000

E.g. for factory settings data

Closes https://github.com/espressif/esp-idf/issues/15317
This commit is contained in:
Adam Múdry
2025-02-05 15:51:48 +01:00
committed by BOT
parent 3157356157
commit d8ebca368c
6 changed files with 22 additions and 6 deletions
@@ -3,5 +3,5 @@
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 1M,
custom, data, nvs, , 0x1000,
custom, data, nvs, , 0x1000, readonly
storage, data, spiffs, , 0x10000,
1 # Name, Type, SubType, Offset, Size, Flags
3 nvs, data, nvs, 0x9000, 0x6000,
4 phy_init, data, phy, 0xf000, 0x1000,
5 factory, app, factory, 0x10000, 1M,
6 custom, data, nvs, , 0x1000, custom, data, nvs, , 0x1000, readonly
7 storage, data, spiffs, , 0x10000,