mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 02:29:10 -04:00
Merge branch 'fix/mbedtls_target_library_link' into 'master'
mbedtls: Fixed target library linking when using the DS peripheral See merge request espressif/esp-idf!10650
This commit is contained in:
commit
79f52a0658
@ -141,6 +141,11 @@ set_property(TARGET mbedcrypto APPEND PROPERTY LINK_INTERFACE_LIBRARIES mbedtls)
|
|||||||
# Link mbedtls libraries to component library
|
# Link mbedtls libraries to component library
|
||||||
target_link_libraries(${COMPONENT_LIB} PUBLIC ${mbedtls_targets})
|
target_link_libraries(${COMPONENT_LIB} PUBLIC ${mbedtls_targets})
|
||||||
|
|
||||||
|
if(CONFIG_ESP_TLS_USE_DS_PERIPHERAL)
|
||||||
|
# Link target (esp32s2) library to component library
|
||||||
|
target_link_libraries(${COMPONENT_LIB} PUBLIC ${target})
|
||||||
|
endif()
|
||||||
|
|
||||||
# Link esp-cryptoauthlib to mbedtls
|
# Link esp-cryptoauthlib to mbedtls
|
||||||
if(CONFIG_ATCA_MBEDTLS_ECDSA)
|
if(CONFIG_ATCA_MBEDTLS_ECDSA)
|
||||||
idf_component_get_property(cryptoauthlib esp-cryptoauthlib COMPONENT_LIB)
|
idf_component_get_property(cryptoauthlib esp-cryptoauthlib COMPONENT_LIB)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user