Skip to content

Commit 695d03f

Browse files
committed
mesh: Add link to mbedTLS for simulator tests to find psa/crypto.h
-Fixes issues with some zephyr-located tests for BLE mesh. Signed-off-by: Frank Audun Kvamtrø <[email protected]>
1 parent 4422ba7 commit 695d03f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: subsys/bluetooth/mesh/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,7 @@ zephyr_linker_sources(SECTIONS sensor_types.ld)
8080
zephyr_linker_sources(SECTIONS scene_types.ld)
8181

8282
zephyr_library_sources_ifdef(CONFIG_BT_MESH_RPL_STORAGE_MODE_EMDS rpl.c)
83+
84+
if (CONFIG_BT_MESH_USES_MBEDTLS_PSA AND (NOT CONFIG_SOC_FAMILY_NORDIC_NRF))
85+
zephyr_library_link_libraries(mbedTLS)
86+
endif()

0 commit comments

Comments
 (0)