2019-11-15 08:53:00 +00:00
|
|
|
set(srcs "src/nvs_api.cpp"
|
|
|
|
"src/nvs_item_hash_list.cpp"
|
|
|
|
"src/nvs_ops.cpp"
|
|
|
|
"src/nvs_page.cpp"
|
|
|
|
"src/nvs_pagemanager.cpp"
|
|
|
|
"src/nvs_storage.cpp"
|
|
|
|
"src/nvs_types.cpp")
|
|
|
|
if(CONFIG_NVS_ENCRYPTION)
|
|
|
|
list(APPEND srcs "src/nvs_encr.cpp")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
2019-04-28 07:38:23 +00:00
|
|
|
REQUIRES spi_flash mbedtls
|
|
|
|
INCLUDE_DIRS include)
|