Skip to content

Commit

Permalink
Added in one condition for rs9116 and SiWx917 NCP
Browse files Browse the repository at this point in the history
  • Loading branch information
KishorSilabs committed Feb 7, 2023
1 parent 5ea8343 commit ca3f9a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
11 changes: 1 addition & 10 deletions examples/platform/silabs/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -287,16 +287,7 @@ source_set("efr32-common") {
}

if (chip_enable_wifi) {
if (use_rs9116) {
sources += rs911x_src_plat

# All the stuff from wiseconnect
sources += rs911x_src_sapi
include_dirs += rs911x_inc_plat

#add compilation flags for rs991x build. This will be addressed directly in wiseconnect sdk in the next version release of that sdk
cflags = rs911x_cflags
} else if (use_SiWx917) {
if (use_rs9116 || use_SiWx917) {
sources += rs911x_src_plat

# All the stuff from wiseconnect
Expand Down
13 changes: 1 addition & 12 deletions third_party/silabs/efr32_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -190,18 +190,7 @@ template("efr32_sdk") {
]

if (defined(invoker.chip_enable_wifi) && invoker.chip_enable_wifi) {
if (use_rs9116) {
defines += [
"SL_HEAP_SIZE=32768",
"SL_WIFI=1",
"SL_WFX_USE_SPI",
"EFX32_RS911X=1",
"RS911X_WIFI",
"RSI_WLAN_ENABLE",
"RSI_SPI_INTERFACE",
"RSI_WITH_OS",
]
} else if (use_SiWx917) {
if (use_rs9116 || use_SiWx917) {
defines += [
"SL_HEAP_SIZE=32768",
"SL_WIFI=1",
Expand Down

0 comments on commit ca3f9a6

Please sign in to comment.