From f63b65fd3a7940f39a1dd0a19802c3b3eadf5a87 Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Thu, 8 Jan 2026 14:44:59 +0100 Subject: [PATCH 1/2] samples: boot: mcuboot_recovery_entry: doc low size DFU configuration Documenting on how to build the sample with size optimizations. Signed-off-by: Andrzej Puzdrowski --- samples/boot/mcuboot_recovery_entry/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/boot/mcuboot_recovery_entry/README.rst b/samples/boot/mcuboot_recovery_entry/README.rst index 5901189180..73a099af0c 100644 --- a/samples/boot/mcuboot_recovery_entry/README.rst +++ b/samples/boot/mcuboot_recovery_entry/README.rst @@ -57,6 +57,8 @@ Building and running ******************** This sample can be found under :file:`samples/boot/mcuboot_recovery_entry/` in the |BMshort| folder structure. +The sample contains the default configuration and DFU components size optimized configuration for reference. +To enable size optimized configuration, set :makevar:`FILE_SUFFIX` to ``size_opt`` when building the sample. For details on how to create, configure, and program a sample, see :ref:`getting_started_with_the_samples`. From 80e091e65517b5cf4c24c83d3025ed8db9dad735 Mon Sep 17 00:00:00 2001 From: Andrzej Puzdrowski Date: Thu, 8 Jan 2026 16:19:46 +0100 Subject: [PATCH 2/2] doc: nrf-bm: app_dev: dfu: update on minimal size configuration Update on reference for NVM size optimized configuration. Signed-off-by: Andrzej Puzdrowski --- doc/nrf-bm/app_dev/dfu/memory_partitioning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/nrf-bm/app_dev/dfu/memory_partitioning.rst b/doc/nrf-bm/app_dev/dfu/memory_partitioning.rst index 4d87b7c175..efe3e31359 100644 --- a/doc/nrf-bm/app_dev/dfu/memory_partitioning.rst +++ b/doc/nrf-bm/app_dev/dfu/memory_partitioning.rst @@ -149,7 +149,7 @@ The recommended sizes are based on the configuration used in |BMshort|. Optimizing your project for release *********************************** -You can achieve the reference sizes of MCUboot and firmware loader using the default configuration of the :ref:`ble_mcuboot_recovery_entry_sample` sample. +You can achieve the reference sizes of MCUboot and firmware loader using configurations of the :ref:`ble_mcuboot_recovery_entry_sample` sample. For minimal size, amend the firmware loader configuration using the following Kconfig options: