OVMS3-idf/docs/api/storage
Ivan Grokhotkov 5a23ec4dc4 nvs: check that storage has at least one free page
This change adds a check for the free page count to nvs_flash_init.
Under normal operation, NVS keeps at least one free page available,
except for transient states such as freeing up new page. Due to external
factors (such as NVS partition size reduction) this free page could be
lost, making NVS operation impossible. Previously this would cause an
error when performing any nvs_set operation or opening a new namespace.
With this change, an error is returned from nvs_flash_init to indicate
that NVS partition is in such a state.
2017-03-14 22:03:39 +08:00
..
fatfs.rst pick better name for unregister function and update docs 2017-02-02 12:24:38 +02:00
index.rst docs: use custom roles to generate GitHub links 2017-01-20 17:22:47 +08:00
nvs_flash.rst nvs: check that storage has at least one free page 2017-03-14 22:03:39 +08:00
sdmmc.rst sdmmc: Use slot width as default slot_config width parameter, instead of 4 2017-03-03 14:59:15 +11:00
spi_flash.rst spi_flash: Add spi_flash_cache_enabled() test function 2017-03-03 15:33:23 +11:00
vfs.rst docs: use custom roles to generate GitHub links 2017-01-20 17:22:47 +08:00