Skip to content

Commit

Permalink
Moved wifi include to common efr32_sdk.gni
Browse files Browse the repository at this point in the history
  • Loading branch information
bhmanda-silabs committed Sep 5, 2024
1 parent dde1e65 commit 54c0faa
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 9 deletions.
1 change: 0 additions & 1 deletion examples/light-switch-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ if (wifi_soc) {

include_dirs = [
"${chip_root}/src/platform/silabs/efr32",
"${chip_root}/src/platform/silabs/wifi",
"${silabs_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
Expand Down
1 change: 0 additions & 1 deletion examples/lighting-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ if (wifi_soc) {

include_dirs = [
"${chip_root}/src/platform/silabs/efr32",
"${chip_root}/src/platform/silabs/wifi",
"${silabs_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
Expand Down
1 change: 0 additions & 1 deletion examples/lock-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ if (wifi_soc) {

include_dirs = [
"${chip_root}/src/platform/silabs/efr32",
"${chip_root}/src/platform/silabs/wifi",
"${silabs_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
Expand Down
7 changes: 3 additions & 4 deletions examples/platform/silabs/SiWx917/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ declare_args() {

# Sanity check
assert(chip_enable_wifi)

silabs_plat_si91x_dir = "${chip_root}/src/platform/silabs"
silabs_plat_dir = "${chip_root}/src/platform/silabs"
silabs_plat_si91x_wifi_dir = "${chip_root}/src/platform/silabs/SiWx917/wifi"

import("${silabs_common_plat_dir}/args.gni")
Expand Down Expand Up @@ -183,7 +182,7 @@ source_set("siwx917-common") {
include_dirs = [
".",
"SiWx917/",
"${silabs_plat_si91x_dir}/wifi",
"${silabs_plat_dir}/wifi",
"${silabs_plat_si91x_wifi_dir}",
]

Expand All @@ -197,7 +196,7 @@ source_set("siwx917-common") {
"${silabs_common_plat_dir}/syscalls_stubs.cpp",
"${silabs_common_plat_dir}/wifi/wfx_notify.cpp",
"${silabs_common_plat_dir}/wifi/wfx_rsi_host.cpp",
"${silabs_plat_si91x_dir}/wifi/dhcp_client.cpp",
"${silabs_plat_dir}/wifi/dhcp_client.cpp",
"${silabs_plat_si91x_wifi_dir}/ethernetif.cpp",
"${silabs_plat_si91x_wifi_dir}/lwip_netif.cpp",
"SiWx917/sl_wifi_if.cpp",
Expand Down
1 change: 0 additions & 1 deletion examples/thermostat/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ if (wifi_soc) {

include_dirs = [
"${chip_root}/src/platform/silabs/efr32",
"${chip_root}/src/platform/silabs/wifi",
"${silabs_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
Expand Down
1 change: 0 additions & 1 deletion examples/window-app/silabs/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ if (wifi_soc) {

include_dirs = [
"${chip_root}/src/platform/silabs/efr32",
"${chip_root}/src/platform/silabs/wifi",
"${silabs_project_dir}/include",
"${examples_plat_dir}",
"${chip_root}/src/lib",
Expand Down
3 changes: 3 additions & 0 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,9 @@ template("efr32_sdk") {
if (use_rs9116 || use_SiWx917) {
_include_dirs += [ "${chip_root}/src/platform/silabs/rs911x" ]
}
if (use_wf200 || use_rs9116 || use_SiWx917) {
_include_dirs += [ "${chip_root}/src/platform/silabs/wifi" ]
}
if (silabs_family != "mgm24") {
_include_dirs += [
"${efr32_sdk_root}/platform/radio/rail_lib/hal",
Expand Down

0 comments on commit 54c0faa

Please sign in to comment.