mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ffaf1d2968
NVS configuration is extended with Kconfig option controlling RAM area for NVS heap allocation. Either Internal RAM or SPIRAM can be chosen. Tests were extended to check memory consumption from Internal and SPIRAM pool with respect to the Kconfig option chosen. Documentation was extended with notes related to NVS behavior in various situations.
11 lines
519 B
CMake
11 lines
519 B
CMake
idf_component_register(SRC_DIRS "."
|
|
PRIV_REQUIRES cmock test_utils nvs_flash nvs_sec_provider
|
|
bootloader_support spi_flash esp_psram
|
|
EMBED_TXTFILES encryption_keys.bin partition_encrypted.bin
|
|
partition_encrypted_hmac.bin sample.bin
|
|
WHOLE_ARCHIVE)
|
|
|
|
if(CONFIG_NVS_ENCRYPTION OR CONFIG_SOC_HMAC_SUPPORTED)
|
|
target_link_libraries(${COMPONENT_LIB} PUBLIC idf::mbedtls)
|
|
endif()
|