Skip to content

Commit

Permalink
samples: matter: Fix nRF54L15 internal build docs.
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
ArekBalysNordic committed Jan 9, 2025
1 parent 852ae66 commit b082460
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
13 changes: 13 additions & 0 deletions doc/nrf/releases_and_maturity/known_issues.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------
Expand Down
8 changes: 7 additions & 1 deletion samples/matter/template/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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=<absolute_path_to_the_template_sample>/sysbuild/mcuboot/boards/nrf54l15dk_nrf54l15_cpuapp_internal.conf -Dmcuboot_EXTRA_DTC_OVERLAY_FILE=<absolute_path_to_the_template_sample>/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.

Expand Down
1 change: 1 addition & 0 deletions samples/matter/template/prj_release.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b082460

Please sign in to comment.