esp-idf/components/nvs_flash/test
Jakob Hasse fe7ebf75a0 NVS Flash: prevent erasing initialized partition
Closes https://github.com/espressif/esp-idf/issues/4755
Closes https://github.com/espressif/esp-idf/issues/2777
Closes FCS-533

* nvs_flash_erase_partition() checks whether
  the parition in question is initialized
  already and will return an error if so
* reflect changes in the documentation

* nvs host unit tests now clean up after each
  test case

nvs_flash: fixed deinit other partition's handles

* When deinitializing or erasing a partition,
  nvs used to close all handles instead of only
  the current partition's handles.
  This is fixed now
* Added a unit test for that case
2021-01-07 11:32:29 +08:00
..
CMakeLists.txt nvs: Added nvs tests, minor corrections 2019-11-07 10:23:47 +08:00
component.mk nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
encryption_keys.bin nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
partition_encrypted.bin nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
sample.bin nvs_flash: Add support for nvs encryption 2018-09-24 11:25:21 +05:30
test_nvs.c NVS Flash: prevent erasing initialized partition 2021-01-07 11:32:29 +08:00