Wi-Fi: Zephyr networking samples
In addition to nRF Connect SDK samples, it is possible to run selected networking samples with Wi-Fi®, provided and maintained as part of the upstream Zephyr project. The following list specifies samples that are currently supported on nRF7002 DK and nRF7120 DK:
Building and running
To build the sample with Visual Studio Code, follow the steps listed on the How to build an application page in the nRF Connect for VS Code documentation. See Building an application for other building scenarios, Programming an application for programming steps, and Testing and optimization for general information about testing and debugging in the nRF Connect SDK.
A Wi-Fi snippet configuration is provided to all Zephyr samples, which configures the sample to run with the Wi-Fi driver.
To build Zephyr samples, use the nrf7002dk/nrf5340/cpuapp or nrf7120dk/nrf7120/cpuapp board target, and wifi-ipv4 snippet.
The following is an example of the CLI command:
# nRF7002 DK
west build -b nrf7002dk/nrf5340/cpuapp -S wifi-ipv4
# nRF7120 DK
west build -b nrf7120dk/nrf7120/cpuapp -S wifi-ipv4
For additional details about running a sample, refer to the respective sample in Zephyr’s Samples and Demos.