esp-idf/components/nvs_flash/include
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
..
nvs_flash.h NVS Flash: prevent erasing initialized partition 2021-01-07 11:32:29 +08:00
nvs_handle.hpp NVS: expose C++ API 2020-01-09 18:29:23 +08:00
nvs.h NVS: expose C++ API 2020-01-09 18:29:23 +08:00