Skip to content

Commit

Permalink
[nrf noup] samples: net: wifi: Enable Wi-Fi driver in sysbuild builds
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
krish2718 authored and nordicjm committed Oct 18, 2024
1 parent 0cb0d88 commit fe339b1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions samples/net/wifi/Kconfig.sysbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Copyright (c) 2024 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#

config WIFI_NRF70
default y if BOARD_NRF7002DK_NRF5340_CPUAPP || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NS || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001 || \
BOARD_NRF7002DK_NRF5340_CPUAPP_NRF7001_NS

source "${ZEPHYR_BASE}/share/sysbuild/Kconfig"
2 changes: 2 additions & 0 deletions samples/net/wifi/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ tests:
- nrf7002dk/nrf5340/cpuapp/nrf7001
sample.net.wifi.nrf7002ek:
extra_args:
- SB_CONFIG_WIFI_NRF70=y
- CONFIG_NRF_WIFI_BUILD_ONLY_MODE=y
- SHIELD=nrf7002ek
platform_allow:
Expand All @@ -64,6 +65,7 @@ tests:
- nucleo_h723zg
sample.net.wifi.nrf7002eb:
extra_args:
- SB_CONFIG_WIFI_NRF70=y
- CONFIG_NRF_WIFI_BUILD_ONLY_MODE=y
- SHIELD=nrf7002eb
platform_allow:
Expand Down

0 comments on commit fe339b1

Please sign in to comment.