Skip to content

Commit

Permalink
Merge branch 'fix/fix_esp_cryptoauthlib_dependency_for_esp_tls' into …
Browse files Browse the repository at this point in the history
…'master'

esp-tls: Fix esp-cryptoauthlib built dependency when secure element

See merge request espressif/esp-idf!21051
  • Loading branch information
mahavirj committed Nov 14, 2022
2 parents f727494 + c099209 commit 769ec42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/esp-tls/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ endif()
# due to cyclic dependencies present in IDF for lwip/esp_netif/mbedtls
idf_component_get_property(lwip lwip COMPONENT_LIB)
set_property(TARGET ${lwip} APPEND PROPERTY LINK_INTERFACE_MULTIPLICITY 5)

if(CONFIG_ESP_TLS_USE_SECURE_ELEMENT)
idf_component_optional_requires(PRIVATE espressif__esp-cryptoauthlib esp-cryptoauthlib)
endif()

0 comments on commit 769ec42

Please sign in to comment.