diff --git a/examples/platform/efr32/init_efrPlatform.cpp b/examples/platform/efr32/init_efrPlatform.cpp index b3e6625d567142..f251f48f5dbab1 100644 --- a/examples/platform/efr32/init_efrPlatform.cpp +++ b/examples/platform/efr32/init_efrPlatform.cpp @@ -53,6 +53,7 @@ extern "C" { #include "init_efrPlatform.h" #include "sl_component_catalog.h" +#include "sl_mbedtls.h" #include "sl_system_init.h" #if DISPLAY_ENABLED @@ -64,6 +65,7 @@ void initAntenna(void); void init_efrPlatform(void) { sl_system_init(); + sl_mbedtls_init(); #if DISPLAY_ENABLED initLCD(); diff --git a/third_party/efr32_sdk/efr32_sdk.gni b/third_party/efr32_sdk/efr32_sdk.gni index be6877976e479c..eac9039f07ca7c 100644 --- a/third_party/efr32_sdk/efr32_sdk.gni +++ b/third_party/efr32_sdk/efr32_sdk.gni @@ -137,6 +137,9 @@ template("efr32_sdk") { "CHIP_DEVICE_CONFIG_THREAD_ENABLE_CLI=1", "__HEAP_SIZE=0", "SL_CATALOG_FREERTOS_KERNEL_PRESENT=1", + "MBEDTLS_THREADING_C=1", + "MBEDTLS_THREADING_ALT=1", + "SL_THREADING_ALT=1", #"__STACK_SIZE=0", ]