Skip to content

Commit

Permalink
fix define conditionnal
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Oct 13, 2023
1 parent 64d0a20 commit a364396
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
7 changes: 7 additions & 0 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit a364396

Please sign in to comment.