@@ -65,6 +65,9 @@ declare_args() {
65
65
66
66
silabs_log_enabled = true
67
67
68
+ # Enable Synchronized Sleepy End Device
69
+ enable_synchronized_sed = false
70
+
68
71
# Argument to enable IPv4 for wifi
69
72
# aligning to match chip_inet_config_enable_ipv4 default configuration
70
73
chip_enable_wifi_ipv4 = false
@@ -96,9 +99,6 @@ declare_args() {
96
99
sl_ot_platform_abstraction =
97
100
" ${ efr32_sdk_root } /protocol/openthread/platform-abstraction"
98
101
99
- # Enable Synchronized Sleepy End Device
100
- enable_synchronized_sed = use_silabs_thread_lib
101
-
102
102
# board related pre-generated files path (default)
103
103
sl_pre_gen_path =
104
104
" ${ sdk_support_root } /matter/efr32/${ silabs_family } /${ silabs_board } /"
@@ -317,6 +317,7 @@ template("efr32_sdk") {
317
317
" SL_MATTER_BLE_EXTENDED_ADV=${ sl_matter_ble_extended_adv } " ,
318
318
" SL_MEMORY_POOL_LIGHT=1" ,
319
319
" SL_OPENTHREAD_STACK_FEATURES_CONFIG_FILE=\" sl_openthread_features_config.h\" " ,
320
+ " SL_CSL_TIMEOUT=${ sl_ot_csl_timeout_sec } " ,
320
321
" CIRCULAR_QUEUE_USE_LOCAL_CONFIG_HEADER=1" ,
321
322
" MATTER_INTEGRATION=1" ,
322
323
]
@@ -327,18 +328,25 @@ template("efr32_sdk") {
327
328
defines += [ " SILABS_LOG_ENABLED=0" ]
328
329
}
329
330
330
- # Temporary configuration to enable COAP specific configurations
331
- if (use_thread_coap_lib ) {
332
- defines += [ " SL_USE_COAP_CONFIG=1" ]
333
- }
334
-
335
331
if (sl_uart_log_output ) {
336
332
defines += [
337
333
" SILABS_LOG_OUT_UART=1" ,
338
334
" SILABS_LOG_OUT_RTT=0" ,
339
335
]
340
336
}
341
337
338
+ if (use_silabs_thread_lib ) {
339
+ defines += [ " SL_CONFIG_OPENTHREAD_LIB=1" ]
340
+ } else {
341
+ defines += [ " SL_CONFIG_OPENTHREAD_LIB=0" ]
342
+ }
343
+
344
+ if (use_thread_coap_lib ) {
345
+ defines += [ " SL_USE_COAP_CONFIG=1" ]
346
+ } else {
347
+ defines += [ " SL_USE_COAP_CONFIG=0" ]
348
+ }
349
+
342
350
if (chip_enable_ble_rs911x ) {
343
351
defines += [
344
352
" RSI_BLE_ENABLE=1" ,
@@ -462,7 +470,6 @@ template("efr32_sdk") {
462
470
defines += [
463
471
" CHIP_DEVICE_CONFIG_THREAD_SSED=1" ,
464
472
" SL_CSL_ENABLE=1" ,
465
- " SL_CSL_TIMEOUT=${ sl_ot_csl_timeout_sec } " ,
466
473
]
467
474
}
468
475
}
0 commit comments