diff --git a/doc/samples/sid_end_device.rst b/doc/samples/sid_end_device.rst index 74367e97b5..f8ff9fc213 100644 --- a/doc/samples/sid_end_device.rst +++ b/doc/samples/sid_end_device.rst @@ -107,12 +107,6 @@ The sample supports the following build types: - All from `Requirements`_ - Release version of the application. It can be used to enable only the necessary application functionalities to optimize its performance. - * - No DFU - - :file:`prj_no_dfu.conf` - - All from `Requirements`_ - - No DFU version of the application. - It can be used in simple scenarios where DFU is not required. - Additionally, it can be treated as a starting point when integrating the Sidewalk sample with a custom bootloader. You can build the ``release`` firmware for ``build_target`` by running the following command in the project directory: diff --git a/samples/sid_end_device/CMakeLists.txt b/samples/sid_end_device/CMakeLists.txt index 2174621b4d..0783596c3b 100644 --- a/samples/sid_end_device/CMakeLists.txt +++ b/samples/sid_end_device/CMakeLists.txt @@ -13,19 +13,6 @@ include(bootloader_version.cmake) set(hci_ipc_KCONFIG_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/child_image/hci_ipc/Kconfig.root) set(mcuboot_KCONFIG_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/child_image/mcuboot/Kconfig.root) -# Configurations -if(CONF_FILE) - get_filename_component(CONFIG_FILE_NAME ${CONF_FILE} REALPATH) -endif() - -if("${CONFIG_FILE_NAME}" STREQUAL "prj_no_dfu.conf") - set(PM_FILENAME "pm_static_no_dfu.yml") -else() - set(PM_FILENAME "pm_static_dfu.yml") -endif() -set(PM_STATIC_YML_FILE ${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/${PM_FILENAME}) - - # Zephyr CMake project find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(sidewalk_sid_end_device) diff --git a/samples/sid_end_device/configuration/nrf52840dk_nrf52840/pm_static_no_dfu.yml b/samples/sid_end_device/configuration/nrf52840dk_nrf52840/pm_static_no_dfu.yml deleted file mode 100644 index 658ce757c1..0000000000 --- a/samples/sid_end_device/configuration/nrf52840dk_nrf52840/pm_static_no_dfu.yml +++ /dev/null @@ -1,5 +0,0 @@ -mfg_storage: - address: 0xff000 - end_address: 0x100000 - region: flash_primary - size: 0x1000 diff --git a/samples/sid_end_device/configuration/nrf5340dk_nrf5340_cpuapp/pm_static_no_dfu.yml b/samples/sid_end_device/configuration/nrf5340dk_nrf5340_cpuapp/pm_static_no_dfu.yml deleted file mode 100644 index 658ce757c1..0000000000 --- a/samples/sid_end_device/configuration/nrf5340dk_nrf5340_cpuapp/pm_static_no_dfu.yml +++ /dev/null @@ -1,5 +0,0 @@ -mfg_storage: - address: 0xff000 - end_address: 0x100000 - region: flash_primary - size: 0x1000 diff --git a/samples/sid_end_device/configuration/nrf54l15pdk_nrf54l15_cpuapp/pm_static_no_dfu.yml b/samples/sid_end_device/configuration/nrf54l15pdk_nrf54l15_cpuapp/pm_static_no_dfu.yml deleted file mode 100644 index d012052b69..0000000000 --- a/samples/sid_end_device/configuration/nrf54l15pdk_nrf54l15_cpuapp/pm_static_no_dfu.yml +++ /dev/null @@ -1,4 +0,0 @@ -mfg_storage: - address: 0x17c000 - region: flash_primary - size: 0x1000 diff --git a/samples/sid_end_device/configuration/thingy53_nrf5340_cpuapp/pm_static_no_dfu.yml b/samples/sid_end_device/configuration/thingy53_nrf5340_cpuapp/pm_static_no_dfu.yml deleted file mode 100644 index 658ce757c1..0000000000 --- a/samples/sid_end_device/configuration/thingy53_nrf5340_cpuapp/pm_static_no_dfu.yml +++ /dev/null @@ -1,5 +0,0 @@ -mfg_storage: - address: 0xff000 - end_address: 0x100000 - region: flash_primary - size: 0x1000 diff --git a/samples/sid_end_device/configuration/nrf52840dk_nrf52840/pm_static_dfu.yml b/samples/sid_end_device/pm_static_nrf52840dk_nrf52840.yml similarity index 100% rename from samples/sid_end_device/configuration/nrf52840dk_nrf52840/pm_static_dfu.yml rename to samples/sid_end_device/pm_static_nrf52840dk_nrf52840.yml diff --git a/samples/sid_end_device/configuration/nrf5340dk_nrf5340_cpuapp/pm_static_dfu.yml b/samples/sid_end_device/pm_static_nrf5340dk_nrf5340_cpuapp.yml similarity index 100% rename from samples/sid_end_device/configuration/nrf5340dk_nrf5340_cpuapp/pm_static_dfu.yml rename to samples/sid_end_device/pm_static_nrf5340dk_nrf5340_cpuapp.yml diff --git a/samples/sid_end_device/configuration/nrf54l15pdk_nrf54l15_cpuapp/pm_static_dfu.yml b/samples/sid_end_device/pm_static_nrf54l15pdk_nrf54l15_cpuapp.yml similarity index 100% rename from samples/sid_end_device/configuration/nrf54l15pdk_nrf54l15_cpuapp/pm_static_dfu.yml rename to samples/sid_end_device/pm_static_nrf54l15pdk_nrf54l15_cpuapp.yml diff --git a/samples/sid_end_device/configuration/thingy53_nrf5340_cpuapp/pm_static_dfu.yml b/samples/sid_end_device/pm_static_thingy53_nrf5340_cpuapp.yml similarity index 100% rename from samples/sid_end_device/configuration/thingy53_nrf5340_cpuapp/pm_static_dfu.yml rename to samples/sid_end_device/pm_static_thingy53_nrf5340_cpuapp.yml diff --git a/samples/sid_end_device/prj_no_dfu.conf b/samples/sid_end_device/prj_no_dfu.conf deleted file mode 100644 index 3f14d8c773..0000000000 --- a/samples/sid_end_device/prj_no_dfu.conf +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (c) 2023 Nordic Semiconductor ASA -# -# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause -# - -# Sidewalk -CONFIG_SIDEWALK=y -CONFIG_SIDEWALK_DFU=n -CONFIG_SMF=y - -# Log -CONFIG_LOG=y -CONFIG_LOG_PRINTK=y -CONFIG_LOG_BUFFER_SIZE=2048 -CONFIG_NVS_LOG_LEVEL_WRN=y - -# Bluetooth -CONFIG_BT_DEVICE_NAME="Nordic" - -# Debug -CONFIG_RESET_ON_FATAL_ERROR=n diff --git a/samples/sid_end_device/sample.yaml b/samples/sid_end_device/sample.yaml index b4f439d0f9..744da97f4e 100644 --- a/samples/sid_end_device/sample.yaml +++ b/samples/sid_end_device/sample.yaml @@ -32,22 +32,6 @@ tests: - nrf54l15pdk_nrf54l15_cpuapp tags: Sidewalk hello - sample.sidewalk.hello.no_dfu: - build_only: true - platform_allow: - - nrf52840dk_nrf52840 - - nrf5340dk_nrf5340_cpuapp - - nrf54l15pdk_nrf54l15_cpuapp - extra_args: - CONF_FILE=prj_no_dfu.conf - extra_configs: - - CONFIG_SID_END_DEVICE_PERSISTENT_LINK_MASK=y - integration_platforms: - - nrf52840dk_nrf52840 - - nrf5340dk_nrf5340_cpuapp - - nrf54l15pdk_nrf54l15_cpuapp - tags: Sidewalk hello - sample.sidewalk.hello.ble_only: build_only: true platform_allow: