From dd1ce026d608956a249f4753bd663bc328916f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Ga=C5=82at?= Date: Mon, 26 Feb 2024 14:02:10 +0000 Subject: [PATCH] build: remove experimental warning for thingy53 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KRKNWK-18382 Signed-off-by: Robert Gałat --- Kconfig.dependencies | 5 ----- doc/includes/include_kconfig_common.txt | 2 ++ doc/ncs_links.rst | 2 ++ doc/ncs_links_update.sh | 2 ++ doc/samples/samples_list.rst | 1 + doc/samples/sid_end_device.rst | 10 +++++++--- doc/samples/variants/sensor_monitoring.rst | 2 +- .../sid_end_device/boards/thingy53_nrf5340_cpuapp.conf | 2 ++ utils/Kconfig | 3 +-- 9 files changed, 18 insertions(+), 11 deletions(-) diff --git a/Kconfig.dependencies b/Kconfig.dependencies index 73098576ac..54ff3deccd 100644 --- a/Kconfig.dependencies +++ b/Kconfig.dependencies @@ -21,11 +21,6 @@ config SIDEWALK_BUILD help An internal config to build the NCS Sidewalk Sources. -config SIDEWALK_THINGY53_SUPPORT - bool "Sidewalk support for Thingy:53 [EXPERIMENTAL]" - select EXPERIMENTAL - default BOARD_THINGY53_NRF5340_CPUAPP && SIDEWALK - config SIDEWALK_BLE bool default SIDEWALK diff --git a/doc/includes/include_kconfig_common.txt b/doc/includes/include_kconfig_common.txt index bc38da42c6..469677ed90 100644 --- a/doc/includes/include_kconfig_common.txt +++ b/doc/includes/include_kconfig_common.txt @@ -19,6 +19,8 @@ * ``CONFIG_SID_END_DEVICE_CLI`` -- Enables Sidewalk CLI. To see the list of available commands, flash the sample and type ``sid help``. +* ``CONFIG_SIDEWALK_ON_DEV_CERT`` -- Enables the on-device certification Shell. + * ``CONFIG_SID_END_DEVICE_AUTO_START`` -- Enables an automatic Sidewalk initialization and start. * ``CONFIG_SID_END_DEVICE_AUTO_CONN_REQ`` -- Enables an automatic connection request before sending a message. diff --git a/doc/ncs_links.rst b/doc/ncs_links.rst index 69d1a8f5a3..659be3dc20 100644 --- a/doc/ncs_links.rst +++ b/doc/ncs_links.rst @@ -5,12 +5,14 @@ .. _nRF Connect SDK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/index.html .. _nrf52840 DK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr .. _nrf5340 DK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr +.. _Thingy53: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr .. _Getting started with nRF52 Series: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/device_guides/working_with_nrf/nrf52/gs.html .. _Getting started with nRF53 Series: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/device_guides/nrf53.html .. _Zephyr toolchain: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/gs_installing.html#install-a-toolchain .. _nRF Connect SDK Getting started: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/getting_started.html .. _nRF52840dk_nrf52840: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/zephyr/boards/arm/nrf52840dk_nrf52840/doc/index.html .. _nrf5340dk_nrf5340: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/zephyr/boards/arm/nrf5340dk_nrf5340/doc/index.html#nrf5340dk-nrf5340 +.. _thingy53_nrf5340: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/zephyr/boards/arm/thingy53_nrf5340/doc/index.html#thingy53-nrf5340 .. _Building and programming an application: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/getting_started/programming.html#gs-programming .. _Testing and debugging an application: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/getting_started/testing.html#gs-testing .. _Bootloader and DFU solutions for NCS: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.99-dev1/nrf/app_bootloaders.html diff --git a/doc/ncs_links_update.sh b/doc/ncs_links_update.sh index 648fca2b45..c81d4a15f7 100755 --- a/doc/ncs_links_update.sh +++ b/doc/ncs_links_update.sh @@ -11,12 +11,14 @@ cd $current_dir links=( ".. _nRF Connect SDK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/index.html" ".. _nrf52840 DK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr" ".. _nrf5340 DK: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr" + ".. _Thingy53: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/config_and_build/board_support.html#boards-included-in-sdk-zephyr" ".. _Getting started with nRF52 Series: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/device_guides/working_with_nrf/nrf52/gs.html" ".. _Getting started with nRF53 Series: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/device_guides/nrf53.html" ".. _Zephyr toolchain: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/gs_installing.html#install-a-toolchain" ".. _nRF Connect SDK Getting started: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/getting_started.html" ".. _nRF52840dk_nrf52840: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//zephyr/boards/arm/nrf52840dk_nrf52840/doc/index.html" ".. _nrf5340dk_nrf5340: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//zephyr/boards/arm/nrf5340dk_nrf5340/doc/index.html#nrf5340dk-nrf5340" + ".. _thingy53_nrf5340: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//zephyr/boards/arm/thingy53_nrf5340/doc/index.html#thingy53-nrf5340" ".. _Building and programming an application: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/getting_started/programming.html#gs-programming" ".. _Testing and debugging an application: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/getting_started/testing.html#gs-testing" ".. _Bootloader and DFU solutions for NCS: https://developer.nordicsemi.com/nRF_Connect_SDK/doc//nrf/app_bootloaders.html" diff --git a/doc/samples/samples_list.rst b/doc/samples/samples_list.rst index 2ec069c482..b6eaaae124 100644 --- a/doc/samples/samples_list.rst +++ b/doc/samples/samples_list.rst @@ -16,6 +16,7 @@ The following table demonstrates the variants' configuration for the supported d +-----------------------------------+------------------------------------------+-----------------------------+--------------------------------------------------------------------------+-----------------------------------------------+-------------------------------+ | :ref:`variant_sensor_monitoring` | Demo application of Sidewalk protocol | * `nRF52840 DK`_ | * External flash (included in the DK) | * MCUboot - DFU partition in external flash | * ``overlay-demo.conf`` | | | with temperature sensor monitoring. | * `nRF5340 DK`_ | * `Semtech SX1262MB2CAS`_ (only for the configurations with LoRa or FSK) | * Application partition size = 956 kB | | +| | | * `Thingy53`_ | | | | +-----------------------------------+------------------------------------------+-----------------------------+--------------------------------------------------------------------------+-----------------------------------------------+-------------------------------+ | :ref:`variant_sidewalk_dut` | Device under test generic application | * `nRF52840 DK`_ | * External flash (included in the DK) | * MCUboot - DFU partition in external flash | * ``overlay-dut.conf`` | | | having activated CLI. | * `nRF5340 DK`_ | * `Semtech SX1262MB2CAS`_ (only for the configurations with LoRa or FSK) | * Application partition size = 956 kB | | diff --git a/doc/samples/sid_end_device.rst b/doc/samples/sid_end_device.rst index afda9a6bf2..2ce1b2d201 100644 --- a/doc/samples/sid_end_device.rst +++ b/doc/samples/sid_end_device.rst @@ -25,6 +25,8 @@ This sample supports the following development kits: +--------------------+----------+------------------------+------------------------------+ | nRF5340 DK | PCA10095 | `nrf5340dk_nrf5340`_ | ``nrf5340dk_nrf5340_cpuapp`` | +--------------------+----------+------------------------+------------------------------+ +| Thingy53 | PCA20053 | `thingy53_nrf5340`_ | ``thingy53_nrf5340_cpuapp`` | ++--------------------+----------+------------------------+------------------------------+ To run the sample in the Bluetooth LE link mode, you only need the development kit. However, if you want to run the sample with LoRa or FSK configuration, you also need the LoRa radio module. @@ -53,9 +55,6 @@ Source file setup The application consists of two source files: * :file:`main.c` -- The main source file. Starts Sidewalk application. -* :file:`app.c` (:file:`app.h`) -- Variant-specific file. - It communicates to the Sidewalk thread using events defined in the :file:`sidewalk.h` file, and receives Sidewalk callbacks defined in the :file:`sid_api.h` file. - An application may consist of multiple ``app_*`` files that are used to define user interface and realize application logic. * :file:`sidewalk.c` (:file:`sidewalk.h`) -- Sidewalk thread file. It is a common source file for all sample configurations. It implements a separate thread that calls the Sidewalk API. @@ -67,6 +66,11 @@ The application consists of two source files: Sidewalk thread state machine. +Additionally, it has a variant-specific file: + +* :file:`app.c` (:file:`app.h`) -- Implements application logic. + It communicates to the Sidewalk thread using events defined in the :file:`sidewalk.h` file, and receives Sidewalk callbacks defined in the :file:`sid_api.h` file. + An application may consist of multiple ``app_*`` files that are used to define user interface and realize application logic. .. _sidewalk_end_device_configuration: diff --git a/doc/samples/variants/sensor_monitoring.rst b/doc/samples/variants/sensor_monitoring.rst index fed3e58633..63015805b0 100644 --- a/doc/samples/variants/sensor_monitoring.rst +++ b/doc/samples/variants/sensor_monitoring.rst @@ -10,7 +10,7 @@ You can find an application server (cloud backend with web UI) compatible with t Source file setup ***************** -The application consists of two source files: +The application consists of the following source files: * :file:`app.c` (:file:`app.h`) -- The main application file starts the TX and RX thread, assigns button actions to the buttons on the board, and adds received messages to the received message queue. * :file:`app_sensor.c`, :file:`app_button.c`, :file:`app_led.c` -- The files implement interface between the hardware and sample application. diff --git a/samples/sid_end_device/boards/thingy53_nrf5340_cpuapp.conf b/samples/sid_end_device/boards/thingy53_nrf5340_cpuapp.conf index 8c5972cbcf..e90ab23864 100644 --- a/samples/sid_end_device/boards/thingy53_nrf5340_cpuapp.conf +++ b/samples/sid_end_device/boards/thingy53_nrf5340_cpuapp.conf @@ -20,3 +20,5 @@ CONFIG_NRF53_ENFORCE_IMAGE_VERSION_EQUALITY=y CONFIG_I2C=y CONFIG_SENSOR=y CONFIG_BME680=y + +CONFIG_SIDEWALK_SUBGHZ_SUPPORT=n diff --git a/utils/Kconfig b/utils/Kconfig index 2f5ac977a0..e30137e8d5 100644 --- a/utils/Kconfig +++ b/utils/Kconfig @@ -74,6 +74,5 @@ endif # SIDEWALK_DFU_SERVICE_BLE config SIDEWALK_ON_DEV_CERT - bool "Enable on device certification [EXPERIMENTAL]" + bool "Enable on device certification" depends on SHELL - select EXPERIMENTAL