Skip to content

Commit

Permalink
mesh: Add link to mbedTLS for simulator tests to find psa/crypto.h
Browse files Browse the repository at this point in the history
-Fixes issues with some zephyr-located tests for BLE mesh.

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
  • Loading branch information
frkv committed Jan 28, 2025
1 parent 4422ba7 commit 695d03f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subsys/bluetooth/mesh/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ zephyr_linker_sources(SECTIONS sensor_types.ld)
zephyr_linker_sources(SECTIONS scene_types.ld)

zephyr_library_sources_ifdef(CONFIG_BT_MESH_RPL_STORAGE_MODE_EMDS rpl.c)

if (CONFIG_BT_MESH_USES_MBEDTLS_PSA AND (NOT CONFIG_SOC_FAMILY_NORDIC_NRF))
zephyr_library_link_libraries(mbedTLS)
endif()

0 comments on commit 695d03f

Please sign in to comment.