mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
1d4061d3f2
mbedtls is only required in NVS if NVS encryption is enabled. Hence the mbedtls dependency is now only added if encryption is enabled, otherwise it is not added. BREAKING CHANGE: Removed mbedtls as default dependency
9 lines
348 B
CMake
9 lines
348 B
CMake
idf_component_register(SRC_DIRS "."
|
|
PRIV_INCLUDE_DIRS "."
|
|
PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support
|
|
EMBED_TXTFILES encryption_keys.bin partition_encrypted.bin sample.bin)
|
|
|
|
if(CONFIG_NVS_ENCRYPTION)
|
|
target_link_libraries(${COMPONENT_LIB} PUBLIC idf::mbedtls)
|
|
endif()
|