OVMS3-idf/components/nvs_flash/src
Ivan Grokhotkov abea6c50f1 nvs_flash: delete all duplicate entries in a page while loading
Due to previous flash write bug it was possible to create multiple duplicate entries in a single page.
Recovery logic detected that case and bailed out with an assert.
This change adds graceful recovery from this condition.
Tests included.
2016-10-31 21:10:47 +08:00
..
compressed_enum_table.hpp components/nvs: make some methods const 2016-08-23 12:08:00 +08:00
intrusive_list.h Initial public version 2016-08-17 23:08:22 +08:00
nvs.hpp Initial public version 2016-08-17 23:08:22 +08:00
nvs_api.cpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_item_hash_list.cpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_item_hash_list.hpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_page.cpp nvs_flash: delete all duplicate entries in a page while loading 2016-10-31 21:10:47 +08:00
nvs_page.hpp components/nvs: add erase function 2016-09-23 08:08:03 +08:00
nvs_pagemanager.cpp Add test for compiling in release mode, fix warnings and errors which appeared 2016-10-17 13:40:10 +08:00
nvs_pagemanager.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00
nvs_platform.hpp components/nvs: fix build, use log library instead of printf 2016-09-23 09:00:28 +08:00
nvs_storage.cpp Add test for compiling in release mode, fix warnings and errors which appeared 2016-10-17 13:40:10 +08:00
nvs_storage.hpp components/nvs: add erase function 2016-09-23 08:08:03 +08:00
nvs_types.cpp components/nvs: maintain item hash list at page level 2016-09-21 18:02:52 +08:00
nvs_types.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00