esp-idf/components/nvs_flash/host_test/nvs_host_test
Cody P Schafer f2af1c5305 nvs: support iteration over namespace by index
Users of the nvs API are likely to have `nvs_handle_t` in all cases, but
not all of them carry around the partition name and namespace name (as
they aren't needed after creating an `nvs_handle_t`).

Allow this common case to use nvs iteration without them tracking
additional data by using the `nvs_handle_t` to locate the namespace
index and the partition name by introducing an alterate to
`nvs_entry_find` called `nvs_entry_find_in_handle`, which operates
similarly except that it is given a `nvs_handle_t` instead of partition
and namespace strings.

This is somewhat more limited than the `nvs_entry_find` API as one
cannot examine all keys in a given partition.
2023-08-29 13:59:34 +02:00
..
main nvs: support iteration over namespace by index 2023-08-29 13:59:34 +02:00
CMakeLists.txt build system: generate the partition table by default for linux target 2023-01-13 08:14:56 +01:00
pytest_nvs_host_linux.py ci(nvs_flash): Increase timeout of nvs_page_test 2023-02-13 12:35:52 +08:00
README.md nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
sdkconfig.defaults refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00

Supported Targets Linux