zephyr/subsys/settings
Riadh Ghaddab 5a978f4ab4 settings: zms: add more robustness to the save function
When a power off happens after writing the settings name and before
writing the linked list node we cannot write the settings name again in
the future.
Fix this by writing the linked list node before writing the name.
When loading all settings, we already delete linked list node that do
not have any name or value written.
Adds as well a recover path if a power down happens in the middle of
unlinking an LL node after a delete.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
2025-05-15 17:53:26 +02:00
..
include/settings settings: zms: add more robustness to the save function 2025-05-15 17:53:26 +02:00
src settings: zms: add more robustness to the save function 2025-05-15 17:53:26 +02:00
CMakeLists.txt
Kconfig settings: zms: add cache for linked list hash 2025-05-15 17:53:26 +02:00