esp-idf/components/nvs_flash/test_apps/main/CMakeLists.txt

9 lines
359 B
CMake
Raw Normal View History

idf_component_register(SRC_DIRS "."
PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support spi_flash
EMBED_TXTFILES encryption_keys.bin partition_encrypted.bin sample.bin
WHOLE_ARCHIVE)
if(CONFIG_NVS_ENCRYPTION)
target_link_libraries(${COMPONENT_LIB} PUBLIC idf::mbedtls)
endif()