mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
af81bd1b0a
All the partition handling API functions and data-types were moved from the 'spi_flash' component to the new one named 'esp_partition'. See Storage 5.x migration guide for more details
10 lines
421 B
CMake
10 lines
421 B
CMake
idf_component_register(SRC_DIRS "."
|
|
PRIV_INCLUDE_DIRS "."
|
|
PRIV_REQUIRES cmock test_utils nvs_flash bootloader_support spi_flash
|
|
EMBED_TXTFILES encryption_keys.bin partition_encrypted.bin sample.bin)
|
|
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
|
|
|
|
if(CONFIG_NVS_ENCRYPTION)
|
|
target_link_libraries(${COMPONENT_LIB} PUBLIC idf::mbedtls)
|
|
endif()
|