Skip to content

Commit 972d541

Browse files
[SL-UP] Bugfix/silabs out rtt removal (#142) (project-chip#37079)
1 parent eab776e commit 972d541

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

third_party/silabs/SiWx917_sdk.gni

+1-6
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ template("siwx917_sdk") {
252252
"UDMA_ROMDRIVER_PRESENT=1",
253253
"PLL_ROMDRIVER_PRESENT=1",
254254
"SL_MATTER_GN_BUILD=1",
255+
"SILABS_LOG_OUT_UART=${sl_uart_log_output}",
255256
]
256257

257258
if (silabs_log_enabled && chip_logging) {
@@ -332,12 +333,6 @@ template("siwx917_sdk") {
332333
]
333334
}
334335

335-
if (sl_uart_log_output) {
336-
defines += [ "SILABS_LOG_OUT_UART=1" ]
337-
} else {
338-
defines += [ "SILABS_LOG_OUT_UART=0" ]
339-
}
340-
341336
if (chip_build_libshell) { # matter shell
342337
defines += [ "ENABLE_CHIP_SHELL" ]
343338
}

third_party/silabs/efr32_sdk.gni

+1-6
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ template("efr32_sdk") {
489489
"SL_OPENTHREAD_STACK_FEATURES_CONFIG_FILE=\"sl_openthread_features_config.h\"",
490490
"SL_CSL_TIMEOUT=${sl_ot_csl_timeout_sec}",
491491
"CIRCULAR_QUEUE_USE_LOCAL_CONFIG_HEADER=1",
492+
"SILABS_LOG_OUT_UART=${sl_uart_log_output}",
492493
]
493494

494495
if (silabs_log_enabled && chip_logging) {
@@ -497,12 +498,6 @@ template("efr32_sdk") {
497498
defines += [ "SILABS_LOG_ENABLED=0" ]
498499
}
499500

500-
if (sl_uart_log_output) {
501-
defines += [ "SILABS_LOG_OUT_UART=1" ]
502-
} else {
503-
defines += [ "SILABS_LOG_OUT_UART=0" ]
504-
}
505-
506501
if (use_silabs_thread_lib) {
507502
defines += [ "SL_CONFIG_OPENTHREAD_LIB=1" ]
508503
} else {

0 commit comments

Comments
 (0)