2019-11-15 08:53:00 +00:00
|
|
|
set(srcs "src/nvs_api.cpp"
|
2019-11-25 03:32:40 +00:00
|
|
|
"src/nvs_cxx_api.cpp"
|
2019-11-15 08:53:00 +00:00
|
|
|
"src/nvs_item_hash_list.cpp"
|
|
|
|
"src/nvs_page.cpp"
|
|
|
|
"src/nvs_pagemanager.cpp"
|
|
|
|
"src/nvs_storage.cpp"
|
2019-11-25 03:32:40 +00:00
|
|
|
"src/nvs_handle_simple.cpp"
|
|
|
|
"src/nvs_handle_locked.cpp"
|
2020-04-27 00:51:31 +00:00
|
|
|
"src/nvs_partition.cpp"
|
|
|
|
"src/nvs_partition_lookup.cpp"
|
2019-11-25 03:32:40 +00:00
|
|
|
"src/nvs_partition_manager.cpp"
|
2019-11-15 08:53:00 +00:00
|
|
|
"src/nvs_types.cpp")
|
2020-04-27 00:51:31 +00:00
|
|
|
|
2019-11-15 08:53:00 +00:00
|
|
|
if(CONFIG_NVS_ENCRYPTION)
|
2020-04-27 00:51:31 +00:00
|
|
|
list(APPEND srcs "src/nvs_encrypted_partition.cpp")
|
2019-11-15 08:53:00 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
2019-04-28 07:38:23 +00:00
|
|
|
REQUIRES spi_flash mbedtls
|
|
|
|
INCLUDE_DIRS include)
|