Skip to content

Commit f61f14a

Browse files
committed
net: openthread: make CONFIG_OPENTHREAD_NRF_SECURITY_PSA enable Mbed TLS
In some scenarios we would get an undefined reference to mbedtls_debug_set_threshold() because Mbed TLS wouldn't be compiled in. The proper fix for this would be to #ifdef out the use of this function if it is the only undefined reference. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
1 parent 92e68e9 commit f61f14a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

subsys/net/openthread/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ endchoice
2222

2323
config OPENTHREAD_NRF_SECURITY_PSA
2424
bool
25+
select MBEDTLS
2526
select MBEDTLS_ENABLE_HEAP if (!OPENTHREAD_COPROCESSOR_RCP && !BUILD_WITH_TFM && !PSA_SSF_CRYPTO_CLIENT)
2627
select MBEDTLS_TLS_LIBRARY if (OPENTHREAD_JOINER || OPENTHREAD_COMMISSIONER || OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT || OPENTHREAD_SHELL)
2728
select MBEDTLS_PEM_PARSE_C if (OPENTHREAD_COAPS || OPENTHREAD_BLE_TCAT)

0 commit comments

Comments
 (0)