esp-idf/components/nvs_flash
Mahavir Jain e2fb582cf8 nvs: add config to ignore "encrypted" flag of nvs partitions
This is to allow having pre IDF v4.3 behavior where "encrypted"
flag was not being checked for NVS partitions.

It is recommended to enable this new config only if you have
production devices where NVS partition was being set with "encrypted"
flag by mistake.

Please see commit aca9ec28b3 which
introduced check to not allow NVS partitions with "encrypted" flag set.

More discussion on this at:
https://github.com/espressif/esp-idf/issues/5747#issuecomment-956223024
https://github.com/espressif/esp-idf/issues/7839#issuecomment-961477667

Closes https://github.com/espressif/esp-idf/issues/7839
Closes IDFGH-6162
2021-11-12 09:43:51 +05:30
..
host_test [mocks]: moved already added spi_flash mocks 2021-08-18 11:05:51 +08:00
include Random NVS fixes 2021-03-08 14:41:53 +08:00
nvs_partition_generator nvs_tool: Update Readme with supports of multiline strings and comments in the CSV file 2021-09-16 11:11:19 +05:30
src Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master' 2021-08-06 09:14:21 +00:00
test NVS: using esp_partition API 2020-09-14 10:34:34 +08:00
test_nvs_host Merge branch 'bugfix/nvs_corrupted_storage_crashes_app' into 'master' 2021-08-06 09:14:21 +00:00
.gitignore nvs_flash, wear_levelling: ignore host test files 2017-04-17 11:01:18 +08:00
CMakeLists.txt [mocks]: moved already added spi_flash mocks 2021-08-18 11:05:51 +08:00
component.mk nvs_flash: build nvs_encr.cpp only if relevant config option is enabled 2019-11-15 15:58:31 +05:30
Kconfig nvs: add config to ignore "encrypted" flag of nvs partitions 2021-11-12 09:43:51 +05:30