Skip to content

Commit db9c63b

Browse files
committed
warning skip to fix the ncp lwip sleepy
1 parent cd78cf3 commit db9c63b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

third_party/silabs/efr32_sdk.gni

+7-1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ template("efr32_sdk") {
133133
sdk_target_name = target_name
134134

135135
config("${sdk_target_name}_config") {
136+
cflags = []
136137
include_dirs = []
137138
libs = []
138139
if (defined(invoker.include_dirs)) {
@@ -480,6 +481,12 @@ template("efr32_sdk") {
480481
# TODO: Remove this flag, once the communication is fixed
481482
"WIFI_DEBUG_ENABLED=1",
482483
]
484+
485+
# This is kept due to the warning on the LWIP when on demand timer is added
486+
# TODO: remove this flag once the warning is fixed in SiSDK MATTER-3946
487+
cflags += [
488+
"-Wno-error"
489+
]
483490
}
484491
}
485492

@@ -605,7 +612,6 @@ template("efr32_sdk") {
605612
]
606613
}
607614

608-
cflags = []
609615
foreach(include_dir, _include_dirs) {
610616
cflags += [ "-isystem" + rebase_path(include_dir, root_build_dir) ]
611617
}

0 commit comments

Comments
 (0)