OVMS3-idf/components/nvs_flash/test_nvs_host
konstantin c93626db3f nvs:Add functions for calculating used/free entries
Users needs functions to count the number of free and used entries.

1. `nvs_get_stats()` This function return structure of statistic about the uspace NVS.
(Struct: used_entries, free_entries, total_entries and namespace_count)
2. `nvs_get_used_entry_count()` The second function return amount of entries in the namespace (by handler)
3. Added unit tests.

Closes TW<12282>
2018-04-13 10:34:13 +05:00
..
crc.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
crc.h add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
esp_error_check_stub.cpp esp_err: Use separate code path for ESP_ERROR_CHECK assertion 2017-03-03 15:33:23 +11:00
main.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
Makefile move Catch framework header into tools directory 2017-04-17 11:01:18 +08:00
sdkconfig.h add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
spi_flash_emulation.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
spi_flash_emulation.h nvs_flash: emulator: fix issues in load function, add save function 2017-09-19 10:39:44 +08:00
test_compressed_enum_table.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_intrusive_list.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00
test_nvs.cpp nvs:Add functions for calculating used/free entries 2018-04-13 10:34:13 +05:00
test_spi_flash_emulation.cpp add unit tests to esp-idf 2016-11-22 14:45:50 +08:00