mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
components: use new component registration api
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user