zephyr/subsys/fs/nvs
Adrien Ricciardi 08496ff6b4 fs: nvs: Improve nvs_calc_free_space() result precision
The nvs_calc_free_space() function does not return 0 when the NVS
is considered full, because some special ATEs are not taken into account.

This commit takes into account the ATE that is reserved for deletion in
each sector, in addition of the 'GC done' ATE when present.

Signed-off-by: Adrien Ricciardi <aricciardi@baylibre.com>
2024-06-27 10:53:28 +02:00
..
CMakeLists.txt
Kconfig fs: nvs: Add CRC-32 to protect data 2024-06-13 05:51:56 -04:00
nvs_priv.h fs: nvs: Add CRC-32 to protect data 2024-06-13 05:51:56 -04:00
nvs.c fs: nvs: Improve nvs_calc_free_space() result precision 2024-06-27 10:53:28 +02:00