diff --git a/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h b/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h index 5ea4dc62bdc2ac..e563f31d638b40 100644 --- a/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h +++ b/examples/platform/silabs/efr32/project_include/OpenThreadConfig.h @@ -102,10 +102,6 @@ #define OPENTHREAD_CONFIG_DETERMINISTIC_ECDSA_ENABLE 0 -// Enabling this config temporarly to fix a build issue until -// official fix is pushed -#define OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE 1 - // Use the SiLabs-supplied default platform configuration for remainder // of OpenThread config options. // diff --git a/third_party/silabs/efr32_sdk.gni b/third_party/silabs/efr32_sdk.gni index 66177a7bea5936..e928870cc7fba6 100644 --- a/third_party/silabs/efr32_sdk.gni +++ b/third_party/silabs/efr32_sdk.gni @@ -270,6 +270,13 @@ template("efr32_sdk") { #"__STACK_SIZE=0", ] + if (!(use_silabs_thread_lib || use_silabs_thread_lib)) { + #Enabling this config temporarly to fix a build issue until + #official fix is pushed + + defines += [ "OPENTHREAD_CONFIG_MAC_CSL_RECEIVER_ENABLE=1" ] + } + # Temporary configuration to enable COAP specific configurations if (use_thread_coap_lib) { defines += [ "SL_USE_COAP_CONFIG=1" ]