esp-idf/components
Ivan Grokhotkov 7998b6ca2e components/nvs: handle more cases where sudden power off may happen
This commit fixes several issues with state handling in nvs::Page. It also adds extra consistency checks in nvs::PageManger initialization.
These changes were verified with a new long-running test ("test recovery from sudden poweroff"). This test works by repeatedly performing same pseudorandom sequence of calls to nvs_ APIs. Each time it repeats the sequence, it introduces a failure into one of flash operations (write or erase). So if one iteration of this test needs, say, 25000 flash operations, then this test will run 25000 iterations, each time introducing the failure point at different location.
2016-08-23 12:08:00 +08:00
..
bootloader esptool.py & Makefile: Fix compressed upload support (enabled by default) 2016-08-22 18:44:46 +08:00
bt
esp32 Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
esptool_py esptool.py & Makefile: Fix compressed upload support (enabled by default) 2016-08-22 18:44:46 +08:00
freertos Merge branch 'default_freq' into 'master' 2016-08-22 17:38:00 +08:00
lwip Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
newlib Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
nvs_flash components/nvs: handle more cases where sudden power off may happen 2016-08-23 12:08:00 +08:00
partition_table Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
spi_flash Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00
tcpip_adapter Use IDF_PATH instead of SDK_PATH for the environment variable pointing to esp-idf 2016-08-19 15:01:49 +08:00