Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wifi: Pull Wi-Fi snippet for upstream networking samples and update docs #17711

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented Oct 7, 2024

No description provided.

@rlubos rlubos requested review from a team as code owners October 7, 2024 14:25
@github-actions github-actions bot added doc-required PR must not be merged without tech writer approval. manifest changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. labels Oct 7, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 7, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@ea7e265 nrfconnect/sdk-zephyr#2072 nrfconnect/sdk-zephyr#2072/files

Note: This message is automatically posted and updated by the Manifest GitHub Action.

@NordicBuilder
Copy link
Contributor

NordicBuilder commented Oct 7, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 7

Inputs:

Sources:

sdk-nrf: PR head: 9049105afc1c233316ef30a7b8daa441146ccad8
zephyr: PR head: d048063e32b3dbaa47ea1a81dd601b2afb4f3634

more details

sdk-nrf:

PR head: 9049105afc1c233316ef30a7b8daa441146ccad8
merge base: 85dfab5a556022c1f84bc2e542ace42b66edbec4
target head (main): 85dfab5a556022c1f84bc2e542ace42b66edbec4
Diff

zephyr:

PR head: d048063e32b3dbaa47ea1a81dd601b2afb4f3634
merge base: ea7e265dadf63ab2def0813378f20f2da793877e
target head (main): b83478a230e79d24d69592274f2a93c9c83958a9
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (97)
doc
│  ├── nrf
│  │  ├── samples
│  │  │  │ wifi_zephyr.rst
west.yml
zephyr
│  ├── cmake
│  │  ├── linker_script
│  │  │  ├── common
│  │  │  │  ├── common-ram.cmake
│  │  │  │  │ common-rom.cmake
│  ├── samples
│  │  ├── net
│  │  │  ├── common
│  │  │  │  ├── common.cmake
│  │  │  │  ├── net_sample_common.c
│  │  │  │  │ net_sample_common.h
│  │  │  ├── dhcpv4_client
│  │  │  │  │ overlay-nrf700x.conf
│  │  │  ├── dns_resolve
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── gptp
│  │  │  │  ├── boards
│  │  │  │  │  │ native_posix.conf
│  │  │  │  │ sample.yaml
│  │  │  ├── ipv4_autoconf
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── lldp
│  │  │  │  │ sample.yaml
│  │  │  ├── lwm2m_client
│  │  │  │  ├── Kconfig
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── src
│  │  │  │  │  │ lwm2m-client.c
│  │  │  ├── mdns_responder
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── mqtt_publisher
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── mqtt_sn_publisher
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │ overlay-nrf700x.conf
│  │  │  ├── sockets
│  │  │  │  ├── coap_client
│  │  │  │  │  │ overlay-nrf700x.conf
│  │  │  │  ├── coap_server
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  ├── README.rst
│  │  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  │  ├── prj.conf
│  │  │  │  │  ├── sample.yaml
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ main.c
│  │  │  │  ├── echo
│  │  │  │  │  │ overlay-nrf700x.conf
│  │  │  │  ├── echo_async
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  ├── README.rst
│  │  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  │  ├── sample.yaml
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ socket_echo.c
│  │  │  │  ├── echo_client
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  │  ├── src
│  │  │  │  │  │  ├── common.h
│  │  │  │  │  │  ├── tcp.c
│  │  │  │  │  │  │ udp.c
│  │  │  │  ├── echo_server
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  │ overlay-nrf700x.conf
│  │  │  │  ├── http_get
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  ├── README.rst
│  │  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  │  ├── sample.yaml
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ http_get.c
│  │  │  │  ├── sntp_client
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  │  ├── README.rst
│  │  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  │  ├── sample.yaml
│  │  │  │  │  ├── src
│  │  │  │  │  │  │ main.c
│  │  │  ├── syslog_net
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ main.c
│  │  │  ├── telnet
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig.sysbuild
│  │  │  │  ├── README.rst
│  │  │  │  ├── overlay-nrf700x.conf
│  │  │  │  ├── sample.yaml
│  │  │  │  ├── src
│  │  │  │  │  │ telnet.c
│  │  │  ├── wifi
│  │  │  │  │ Kconfig.sysbuild
│  ├── snippets
│  │  ├── wifi-ipv4
│  │  │  ├── README.rst
│  │  │  ├── snippet.yml
│  │  │  │ wifi-ipv4.conf
│  ├── subsys
│  │  ├── logging
│  │  │  ├── backends
│  │  │  │  │ log_backend_net.c
│  │  ├── net
│  │  │  ├── conn_mgr
│  │  │  │  │ CMakeLists.txt
│  │  │  ├── l2
│  │  │  │  ├── wifi
│  │  │  │  │  │ CMakeLists.txt
│  │  │  ├── lib
│  │  │  │  ├── dns
│  │  │  │  │  │ dispatcher.c
│  ├── tests
│  │  ├── misc
│  │  │  ├── iterable_sections
│  │  │  │  │ CMakeLists.txt
│  │  ├── net
│  │  │  ├── lib
│  │  │  │  ├── http_server
│  │  │  │  │  ├── common
│  │  │  │  │  │  │ CMakeLists.txt
│  │  │  │  │  ├── core
│  │  │  │  │  │  │ CMakeLists.txt
│  │  │  │  │  ├── crime
│  │  │  │  │  │  │ CMakeLists.txt
│  │  │  │  │  ├── tls
│  │  │  │  │  │  │ CMakeLists.txt

Outputs:

Toolchain

Version: 6c44240e03
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:6c44240e03_81ed5a52d6

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • 🟡 Build twister
  • 🟠 Integration tests
    • 🟠 test-fw-nrfconnect-chip
    • 🟠 test-fw-nrfconnect-nfc
    • 🟠 test-fw-nrfconnect-nrf-iot_cloud
    • 🟠 test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • 🟠 test-fw-nrfconnect-nrf-iot_samples
    • 🟠 test-fw-nrfconnect-nrf-iot_thingy91
    • 🟠 test-fw-nrfconnect-rs
    • 🟠 test-fw-nrfconnect-fem
    • 🟠 test-fw-nrfconnect-thread
    • 🟠 test-sdk-find-my
    • 🟠 test-fw-nrfconnect-nrf-iot_mosh
    • 🟠 test-fw-nrfconnect-nrf-iot_positioning
    • 🟠 test-sdk-wifi
    • 🟠 test-low-level
    • 🟠 test-sdk-dfu
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-proprietary_esb
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-zigbee
    • test-sdk-audio
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

@rlubos rlubos force-pushed the net/remove-outdated-wifi-docs branch from 8bf95f1 to 6c2de76 Compare October 7, 2024 14:49
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@rlubos rlubos added this to the 2.8.0 milestone Oct 8, 2024

To build for the nRF7002 EK with nRF5340 DK, use the ``nrf5340dk/nrf5340/cpuapp`` board target with the ``SHIELD`` CMake option set to ``nrf7002ek``.
The following is an example of the CLI command:

.. code-block:: console

west build -b nrf5340dk/nrf5340/cpuapp -- -DSHIELD=nrf7002ek -DEXTRA_CONF_FILE=overlay-nrf700x.conf
west build -b nrf5340dk/nrf5340/cpuapp -S wifi-ipv4 -- -DSHIELD=nrf7002ek

For additional details about running a sample, refer to the respective sample in Zephyr’s Samples and Demos documentation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggesting to add the reference to the Zephyr documentation.

Suggested change
For additional details about running a sample, refer to the respective sample in Zephyr’s Samples and Demos documentation.
For additional details about running a sample, refer to the respective sample in Zephyr’s :ref:`Samples and Demos documentation <zephyr:samples-and-demos>`.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, updated according to the suggestion.

@rlubos rlubos force-pushed the net/remove-outdated-wifi-docs branch from 6c2de76 to 74a0030 Compare October 8, 2024 11:37
@rlubos rlubos force-pushed the net/remove-outdated-wifi-docs branch 2 times, most recently from d5e0acf to 7692a83 Compare October 9, 2024 07:16
Cherry-pick changes enabling Wi-Fi support in upstream samples.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Update the sample list and build method for the upstream networking
samples.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@rlubos rlubos force-pushed the net/remove-outdated-wifi-docs branch from 7692a83 to 9049105 Compare October 9, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM doc-required PR must not be merged without tech writer approval. manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants