From 6df5c6e1a7c6ee365c5eeffa997a5995b1bce45c Mon Sep 17 00:00:00 2001 From: Triveni Danda Date: Thu, 28 Nov 2024 13:29:06 +0530 Subject: [PATCH] samples: wifi: Add support for nRF54 series to Wi-Fi samples This commit adds support for nRF54 series targets to Wi-Fi samples. Signed-off-by: Triveni Danda --- samples/wifi/monitor/sample.yaml | 11 +++++++++++ samples/wifi/offloaded_raw_tx/sample.yaml | 13 +++++++++++++ samples/wifi/promiscuous/sample.yaml | 11 +++++++++++ samples/wifi/raw_tx_packet/sample.yaml | 13 +++++++++++++ samples/wifi/softap/sample.yaml | 13 +++++++++++++ samples/wifi/throughput/sample.yaml | 11 +++++++++++ samples/wifi/twt/sample.yaml | 15 +++++++++++++++ .../wifi/wfa_qt_app/nrf54h20_uart_pipe.overlay | 18 ++++++++++++++++++ samples/wifi/wfa_qt_app/sample.yaml | 11 +++++++++++ 9 files changed, 116 insertions(+) create mode 100644 samples/wifi/wfa_qt_app/nrf54h20_uart_pipe.overlay diff --git a/samples/wifi/monitor/sample.yaml b/samples/wifi/monitor/sample.yaml index af079e77d209..b0e677a51409 100644 --- a/samples/wifi/monitor/sample.yaml +++ b/samples/wifi/monitor/sample.yaml @@ -25,3 +25,14 @@ tests: - nrf7002dk/nrf5340/cpuapp/nrf7001 platform_allow: nrf7002dk/nrf5340/cpuapp/nrf7001 tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.monitor: + sysbuild: true + build_only: true + extra_args: + - monitor_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - monitor_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/offloaded_raw_tx/sample.yaml b/samples/wifi/offloaded_raw_tx/sample.yaml index 1c61df2051b4..13d51711707a 100644 --- a/samples/wifi/offloaded_raw_tx/sample.yaml +++ b/samples/wifi/offloaded_raw_tx/sample.yaml @@ -18,3 +18,16 @@ tests: - nrf5340dk/nrf5340/cpuapp platform_allow: nrf5340dk/nrf5340/cpuapp tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.offloaded_raw_tx: + sysbuild: true + build_only: true + extra_args: + - offloaded_raw_tx_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - offloaded_raw_tx_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/promiscuous/sample.yaml b/samples/wifi/promiscuous/sample.yaml index b83bef64b317..38153447e74e 100644 --- a/samples/wifi/promiscuous/sample.yaml +++ b/samples/wifi/promiscuous/sample.yaml @@ -26,3 +26,14 @@ tests: platform_allow: nrf7002dk/nrf5340/cpuapp/nrf7001 tags: ci_build sysbuild ci_samples_wifi skip: true + sample.nrf7002eb_interposer_p1.nrf7002eb.promiscuous: + sysbuild: true + build_only: true + extra_args: + - promiscuous_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - promiscuous_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/raw_tx_packet/sample.yaml b/samples/wifi/raw_tx_packet/sample.yaml index 25d25db1cd9e..f6646df3b70e 100644 --- a/samples/wifi/raw_tx_packet/sample.yaml +++ b/samples/wifi/raw_tx_packet/sample.yaml @@ -25,3 +25,16 @@ tests: - nrf7002dk/nrf5340/cpuapp/nrf7001 platform_allow: nrf7002dk/nrf5340/cpuapp/nrf7001 tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.raw_tx_packet: + sysbuild: true + build_only: true + extra_args: + - raw_tx_packet_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - raw_tx_packet_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/softap/sample.yaml b/samples/wifi/softap/sample.yaml index 652ab664324d..44bc74f6170f 100644 --- a/samples/wifi/softap/sample.yaml +++ b/samples/wifi/softap/sample.yaml @@ -33,3 +33,16 @@ tests: - nrf5340dk/nrf5340/cpuapp platform_allow: nrf5340dk/nrf5340/cpuapp tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.softap: + sysbuild: true + build_only: true + extra_args: + - softap_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - softap_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/throughput/sample.yaml b/samples/wifi/throughput/sample.yaml index a685049fcc66..3214f6333e64 100644 --- a/samples/wifi/throughput/sample.yaml +++ b/samples/wifi/throughput/sample.yaml @@ -10,6 +10,17 @@ tests: - nrf7002dk/nrf5340/cpuapp platform_allow: nrf7002dk/nrf5340/cpuapp tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.throughput: + sysbuild: true + build_only: true + extra_args: + - throughput_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - throughput_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + tags: ci_build sysbuild ci_samples_wifi # Used by QA to measure memory footprints sample.nrf7002.iot_devices: diff --git a/samples/wifi/twt/sample.yaml b/samples/wifi/twt/sample.yaml index bd60a2176f84..886f8e683c3e 100644 --- a/samples/wifi/twt/sample.yaml +++ b/samples/wifi/twt/sample.yaml @@ -12,3 +12,18 @@ tests: # Dummy IP address for building the sample extra_args: CONFIG_TRAFFIC_GEN_REMOTE_IPV4_ADDR="1.2.3.4" tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.twt: + sysbuild: true + build_only: true + extra_args: + - twt_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - twt_SNIPPET=nrf70-wifi + # Dummy IP address for building the sample + - CONFIG_TRAFFIC_GEN_REMOTE_IPV4_ADDR="1.2.3.4" + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + - nrf54l15dk/nrf54l15/cpuapp + tags: ci_build sysbuild ci_samples_wifi diff --git a/samples/wifi/wfa_qt_app/nrf54h20_uart_pipe.overlay b/samples/wifi/wfa_qt_app/nrf54h20_uart_pipe.overlay new file mode 100644 index 000000000000..f3e1c822f60a --- /dev/null +++ b/samples/wifi/wfa_qt_app/nrf54h20_uart_pipe.overlay @@ -0,0 +1,18 @@ +/* + * Copyright (c) 2023 Nordic Semiconductor ASA + * + * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause + */ + + / { + chosen { + zephyr,uart-pipe = &uart136; + }; +}; + +&uart136 { + compatible = "nordic,nrf-uarte"; + current-speed = <115200>; + status = "okay"; + hw-flow-control; +}; diff --git a/samples/wifi/wfa_qt_app/sample.yaml b/samples/wifi/wfa_qt_app/sample.yaml index 0f80b834ff5e..141fa7cfd826 100644 --- a/samples/wifi/wfa_qt_app/sample.yaml +++ b/samples/wifi/wfa_qt_app/sample.yaml @@ -17,3 +17,14 @@ tests: - nrf5340dk/nrf5340/cpuapp platform_allow: nrf5340dk/nrf5340/cpuapp tags: ci_build sysbuild ci_samples_wifi + sample.nrf7002eb_interposer_p1.nrf7002eb.wfa_qt_app: + sysbuild: true + build_only: true + extra_args: + - wfa_qt_app_SHIELD="nrf7002eb_interposer_p1;nrf7002eb" + - wfa_qt_app_SNIPPET=nrf70-wifi + integration_platforms: + - nrf54h20dk/nrf54h20/cpuapp + platform_allow: + - nrf54h20dk/nrf54h20/cpuapp + tags: ci_build sysbuild ci_samples_wifi