From b082460aff999286633809f8083de44d8419371a Mon Sep 17 00:00:00 2001 From: Arkadiusz Balys Date: Thu, 9 Jan 2025 10:46:49 +0100 Subject: [PATCH] samples: matter: Fix nRF54L15 internal build docs. * Updated a command for building the internal configuration dedicated to nRF54l15. * Added a command for building this configuration in the release configuration as well. Updated prj_release config file to allow building the internal release configuration. Signed-off-by: Arkadiusz Balys --- doc/nrf/releases_and_maturity/known_issues.rst | 13 +++++++++++++ .../releases/release-notes-changelog.rst | 2 +- samples/matter/template/README.rst | 8 +++++++- samples/matter/template/prj_release.conf | 1 + 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/nrf/releases_and_maturity/known_issues.rst b/doc/nrf/releases_and_maturity/known_issues.rst index 71dbb0276e9d..9c48efbb7be4 100644 --- a/doc/nrf/releases_and_maturity/known_issues.rst +++ b/doc/nrf/releases_and_maturity/known_issues.rst @@ -498,6 +498,19 @@ The issues in this section are related to the :ref:`ug_matter` protocol. .. rst-class:: v2-9-0 +KRKNWK-19846: Wrong command for the internal configuration build in the :ref:`matter_template_sample` sample documentation + There is an obsolete and wrong command for building the sample for the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only. + + **Affected platforms:** nRF54L15 + + **Workaround:** Use the following command to build the sample for the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only: + + .. code-block:: console + + west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal + +.. rst-class:: v2-9-0 + KRKNWK-19826: The Device Firmware Upgrade (DFU) fails for nRF5340 DK with RAM power down enabled The DFU fails for nRF5340 DK, if the application enables the :kconfig:option:`CONFIG_RAM_POWER_DOWN_LIBRARY` Kconfig option. This option is enabled by default for the ``release`` configuration of the following samples: diff --git a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst index 828c7d16935c..7a0f64c39852 100644 --- a/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst +++ b/doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst @@ -340,7 +340,7 @@ Keys samples Matter samples -------------- -|no_changes_yet_note| +* Updated the :ref:`matter_template_sample` sample document with the instructions on how to build the sample on the nRF54L15 DK with support for Matter OTA DFU and DFU over Bluetooth SMP, and using internal MRAM only. Networking samples ------------------ diff --git a/samples/matter/template/README.rst b/samples/matter/template/README.rst index 7c24365f654a..56a30ed75997 100644 --- a/samples/matter/template/README.rst +++ b/samples/matter/template/README.rst @@ -143,7 +143,13 @@ The following is an example command to build the sample on the nRF54L15 DK with .. code-block:: console - west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DPM_STATIC_YML_FILE=pm_static_nrf54l15dk_nrf54l15_cpuapp_internal.yml -Dmcuboot_EXTRA_CONF_FILE=/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp_internal.conf -Dmcuboot_EXTRA_DTC_OVERLAY_FILE=/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp_internal.overlay + west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal + +To build the sample for the same purpose, but in the ``release`` configuration, use the following command: + +.. code-block:: console + + west build -p -b nrf54l15dk/nrf54l15/cpuapp -- -DCONFIG_CHIP_DFU_OVER_BT_SMP=y -DFILE_SUFFIX=internal -Dtemplate_EXTRA_CONF_FILE=prj_release.conf Note that in this case, the size of the application partition is half of what it would be when using a configuration with external flash memory support. diff --git a/samples/matter/template/prj_release.conf b/samples/matter/template/prj_release.conf index c215fe7327b7..197b5c26a57a 100644 --- a/samples/matter/template/prj_release.conf +++ b/samples/matter/template/prj_release.conf @@ -37,6 +37,7 @@ CONFIG_RESET_ON_FATAL_ERROR=y CONFIG_USE_SEGGER_RTT=n CONFIG_SHELL=n CONFIG_OPENTHREAD_SHELL=n +CONFIG_CHIP_LIB_SHELL=n CONFIG_CONSOLE=n CONFIG_UART_CONSOLE=n CONFIG_SERIAL=n