Merge branch 'feat/nvs_iteration_statistics_examples_v5.4' into 'release/v5.4'

feat(examples/storage): add nvs statistics and iteration examples (v5.4)

See merge request espressif/esp-idf!43671
This commit is contained in:
Jiang Jiang Jian
2026-03-15 12:55:42 +08:00
19 changed files with 756 additions and 0 deletions
@@ -179,6 +179,8 @@ Points to keep in mind when developing NVS related code:
- :example:`storage/nvs_rw_value` demonstrates how to use NVS to write and read a single integer value.
- :example:`storage/nvs_rw_blob` demonstrates how to use NVS to write and read a blob.
- :example:`storage/nvs_statistics` demonstrates how to obtain and interpret NVS usage statistics: free/used/available/total number of entries and number of namespaces in given NVS partition.
- :example:`storage/nvs_iteration` demonstrates how to iterate over entries of specific (or any) NVS data type and how to obtain info about such entries.
- :example:`security/nvs_encryption_hmac` demonstrates NVS encryption using the HMAC peripheral, where the encryption keys are derived from the HMAC key burnt in eFuse.
- :example:`security/flash_encryption` demonstrates the flash encryption workflow including NVS partition creation and usage.