Skip to content

Commit

Permalink
[nrf noup] samples: net: 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 in networking samples supporting Wi-Fi
when sysbuild is used.

Signed-off-by: Robert Lubos <[email protected]>
  • Loading branch information
rlubos committed Oct 16, 2024
1 parent 1ee6611 commit f3e023b
Show file tree
Hide file tree
Showing 14 changed files with 182 additions and 0 deletions.
13 changes: 13 additions & 0 deletions samples/net/dns_resolve/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"
13 changes: 13 additions & 0 deletions samples/net/ipv4_autoconf/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"
13 changes: 13 additions & 0 deletions samples/net/lwm2m_client/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"
13 changes: 13 additions & 0 deletions samples/net/mdns_responder/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"
13 changes: 13 additions & 0 deletions samples/net/mqtt_publisher/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"
13 changes: 13 additions & 0 deletions samples/net/mqtt_sn_publisher/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/coap_server/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/echo_async/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/echo_client/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/echo_server/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/http_get/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"
13 changes: 13 additions & 0 deletions samples/net/sockets/sntp_client/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"
13 changes: 13 additions & 0 deletions samples/net/syslog_net/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"
13 changes: 13 additions & 0 deletions samples/net/telnet/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"

0 comments on commit f3e023b

Please sign in to comment.