Skip to content

Commit fe339b1

Browse files
krish2718nordicjm
authored andcommitted
[nrf noup] samples: net: wifi: Enable Wi-Fi driver in sysbuild builds
Make sure Wi-Fi driver is enabled when sysbuild is used. For shields we cannot automate this, as sysbuild doesn't recognize shields, so, Wi-Fi has to be explicitly enabled, this is done for twister. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 0cb0d88 commit fe339b1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

samples/net/wifi/Kconfig.sysbuild

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2024 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
7+
config WIFI_NRF70
8+
default y if BOARD_NRF7002DK_NRF5340_CPUAPP || \
9+
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
10+
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
11+
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS
12+
13+
source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"

samples/net/wifi/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ tests:
5353
- nrf7002dk/nrf5340/cpuapp/nrf7001
5454
sample.net.wifi.nrf7002ek:
5555
extra_args:
56+
- SB_CONFIG_WIFI_NRF70=y
5657
- CONFIG_NRF_WIFI_BUILD_ONLY_MODE=y
5758
- SHIELD=nrf7002ek
5859
platform_allow:
@@ -64,6 +65,7 @@ tests:
6465
- nucleo_h723zg
6566
sample.net.wifi.nrf7002eb:
6667
extra_args:
68+
- SB_CONFIG_WIFI_NRF70=y
6769
- CONFIG_NRF_WIFI_BUILD_ONLY_MODE=y
6870
- SHIELD=nrf7002eb
6971
platform_allow:

0 commit comments

Comments
 (0)