From 64c79fccd4d3cb926e6e701ee27bf5db5efb7490 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Thu, 22 Jan 2026 11:50:12 +0100 Subject: [PATCH] Let's link directly with mbedtls Signed-off-by: Pol Henarejos --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 975ce35..ba30960 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,7 +125,7 @@ if(NOT ESP_PLATFORM) -Wl,--gc-sections ) endif(APPLE) - target_link_libraries(pico_hsm PRIVATE pico_keys_sdk pthread m) + target_link_libraries(pico_hsm PRIVATE pico_keys_sdk pthread m mbedtls) else() pico_add_extra_outputs(${CMAKE_PROJECT_NAME}) endif()