components: use new component registration api

This commit is contained in:
Renz Christian Bagaporo
2019-06-21 19:53:29 +08:00
parent e8582e9aa4
commit 9eccd7c082
99 changed files with 810 additions and 1008 deletions
+10 -13
View File
@@ -1,13 +1,10 @@
set(COMPONENT_SRCS "src/nvs_api.cpp"
"src/nvs_encr.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")
set(COMPONENT_ADD_INCLUDEDIRS include)
set(COMPONENT_REQUIRES spi_flash mbedtls)
register_component()
idf_component_register(SRCS "src/nvs_api.cpp"
"src/nvs_encr.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"
REQUIRES spi_flash mbedtls
INCLUDE_DIRS include)