File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,6 @@ template("siwx917_sdk") {
166
166
" MBEDTLS_CONFIG_FILE=\" siwx917-chip-mbedtls-config.h\" " ,
167
167
" __STARTUP_CLEAR_BSS" ,
168
168
" HARD_FAULT_LOG_ENABLE" ,
169
- " SILABS_LOG_ENABLED=${ silabs_log_enabled } " ,
170
169
" SL_HEAP_SIZE=32768" ,
171
170
" SL_WIFI=1" ,
172
171
" CCP_SI917_BRINGUP=1" ,
@@ -224,6 +223,12 @@ template("siwx917_sdk") {
224
223
" configUSE_POSIX_ERRNO=1" ,
225
224
]
226
225
226
+ if (silabs_log_enabled && chip_logging ) {
227
+ defines += [ " SILABS_LOG_ENABLED=1" ]
228
+ } else {
229
+ defines += [ " SILABS_LOG_ENABLED=0" ]
230
+ }
231
+
227
232
if (chip_build_libshell ) {
228
233
defines += [ " ENABLE_CHIP_SHELL" ]
229
234
}
Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ template("efr32_sdk") {
283
283
" __STARTUP_CLEAR_BSS" ,
284
284
" HARD_FAULT_LOG_ENABLE" ,
285
285
" CORTEXM3_EFM32_MICRO" ,
286
- " SILABS_LOG_ENABLED=${ silabs_log_enabled } " ,
287
286
" NVM3_DEFAULT_NVM_SIZE=40960" ,
288
287
" NVM3_DEFAULT_MAX_OBJECT_SIZE=4092" ,
289
288
" KVS_MAX_ENTRIES=${ kvs_max_entries } " ,
@@ -308,6 +307,12 @@ template("efr32_sdk") {
308
307
# "__STACK_SIZE=0",
309
308
]
310
309
310
+ if (silabs_log_enabled && chip_logging ) {
311
+ defines += [ " SILABS_LOG_ENABLED=1" ]
312
+ } else {
313
+ defines += [ " SILABS_LOG_ENABLED=0" ]
314
+ }
315
+
311
316
# Temporary configuration to enable COAP specific configurations
312
317
if (use_thread_coap_lib ) {
313
318
defines += [ " SL_USE_COAP_CONFIG=1" ]
You can’t perform that action at this time.
0 commit comments