<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120742/cmake-build-errors-when-applying-minimal-config-to-nsib-and-mcuboot</link><description>I am using NCS v2.9.1 and trying to enable a bootloader chain with NSIB and MCUboot. The regular setup works fine, however if I try to enable the minimal configuration, I get a build errors (for NSIB) and CMake error (for MCUboot). I am using the instructions</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Jul 2025 09:37:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120742/cmake-build-errors-when-applying-minimal-config-to-nsib-and-mcuboot" /><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/542841?ContentTypeID=1</link><pubDate>Fri, 18 Jul 2025 09:37:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d0e91d7-54a1-4959-9234-4ad991035e77</guid><dc:creator>VIncentFIH</dc:creator><description>&lt;p&gt;I have very similar problem , i am using nRFConnect v3.0.1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;first nsib i encounter the same flash size issue ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;then i encounter configuration not define issue&amp;nbsp;&lt;br /&gt;&lt;br /&gt;west build ^&lt;br /&gt; --build-dir build_mcu_minimal c:/ncs/sourcecode/hello_world ^&lt;br /&gt; --board nrf52840dk/nrf52840 ^&lt;br /&gt; -- ^&lt;br /&gt; -Db0_FILE_SUFFIX=minimal ^&lt;br /&gt; -Db0_CONFIG_B0_MIN_PARTITION_SIZE=n ^&lt;br /&gt; -Db0_CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x6000 ^&lt;br /&gt; -Dmcuboot_FILE_SUFFIX=minimal ^&lt;br /&gt; -Dmcuboot_EXTRA_CONF_FILE=external_crypto.conf ^&lt;br /&gt; -Dmcuboot_CONFIG_BOOT_USE_MIN_PARTITION_SIZE=n ^&lt;br /&gt; -Dmcuboot_CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x5e00&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:30: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_CALLOC&lt;/p&gt;
&lt;p&gt;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:31: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_MALLOC&lt;br /&gt;Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig&lt;/p&gt;
&lt;p&gt;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:32: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_REALLOCARRAYLoaded configuration &amp;#39;C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:30: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_CALLOC

C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:31: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_MALLOC
Parsing C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/Kconfig

C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf:32: warning: attempt to assign the value &amp;#39;n&amp;#39; to the undefined symbol MINIMAL_LIBC_REALLOCARRAYLoaded configuration &amp;#39;C:/ncs/v3.0.1/zephyr/boards/nordic/nrf52840dk/nrf52840dk_nrf52840_defconfig&amp;#39;
Merged configuration &amp;#39;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/prj_minimal.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/boards/nrf52840dk_nrf52840.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/external_crypto.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v3.0.1/nrf/subsys/bootloader/image/log_minimal.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/external_crypto.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/sourcecode/hello_world/build_mcu_minimal/mcuboot/zephyr/misc/generated/extra_kconfig_options.conf&amp;#39;
Merged configuration &amp;#39;C:/ncs/sourcecode/hello_world/build_mcu_minimal/mcuboot/zephyr/.config.sysbuild&amp;#39;


error: Aborting due to Kconfig warnings

CMake Error at C:/ncs/v3.0.1/zephyr/cmake/modules/kconfig.cmake:396 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/ncs/v3.0.1/nrf/cmake/modules/kconfig.cmake:36 (include)
  C:/ncs/v3.0.1/zephyr/cmake/modules/zephyr_default.cmake:133 (include)
  C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:66 (include)
  C:/ncs/v3.0.1/zephyr/share/zephyr-pack-- Configuring incomplete, errors occurred!
age/cmake/ZephyrConfig.cmake:92 (include_boilerplate)
  CMakeLists.txt:18 (find_package)


CMake Error at cmake/modules/sysbuild_extensions.cmake:514 (message):
  CMake configure failed for Zephyr project: mcuboot

  Location: C:/ncs/v3.0.1/bootloader/mcuboot/boot/zephyr/
Call Stack (most recent call first):
  cmake/modules/sysbuild_images.cmake:43 (ExternalZephyrProject_Cmake)
  cmake/modules/sysbuild_default.cmake:21 (include)
  C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:75 (include)
  C:/ncs/v3.0.1/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:97 (include_boilerplate)
  C:/ncs/v3.0.1/zephyr/share/sysbuild-package/cmake/SysbuildConfig.cmake:8 (include)
  template/CMakeLists.txt:10 (find_package)


-- Configuring incomplete, errors occurred!
See also &amp;quot;C:/ncs/sourcecode/hello_world/build_mcu_minimal/CMakeFiles/CMakeOutput.log&amp;quot;.
&#x1B;[91mFATAL ERROR: command exited with status 1: &amp;#39;C:\ncs\toolchains\0b393f9e1b\opt\bin\cmake.EXE&amp;#39; -DWEST_PYTHON=C:/ncs/toolchains/0b393f9e1b/opt/bin/python.exe &amp;#39;-BC:\ncs\sourcecode\hello_world\build_mcu_minimal&amp;#39; -GNinja -Db0_FILE_SUFFIX=minimal -Db0_CONFIG_B0_MIN_PARTITION_SIZE=n -Db0_CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x6000 -Dmcuboot_FILE_SUFFIX=minimal -Dmcuboot_EXTRA_CONF_FILE=external_crypto.conf -Dmcuboot_FILE_SUFFIX=minimal -Dmcuboot_CONFIG_BOOT_USE_MIN_PARTITION_SIZE=n -Dmcuboot_CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x5e00 &amp;#39;-SC:\ncs\v3.0.1\zephyr\share\sysbuild&amp;#39; &amp;#39;-DAPP_DIR:PATH=c:\ncs\sourcecode\hello_world&amp;#39;
&#x1B;[0m&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/533333?ContentTypeID=1</link><pubDate>Tue, 29 Apr 2025 09:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce76b8d4-4f82-4cf4-883f-fdf42b8b7098</guid><dc:creator>koos</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Clear, indeed if i change the size to 0x5d00, the empty partitions appear. This is caught by an assert though, that checks if s0 and s1 are the same size, so that&amp;#39;s very nice!&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;In file included from /opt/nordic/ncs/v2.9.1/zephyr/include/zephyr/toolchain.h:50,
                 from /opt/nordic/ncs/v2.9.1/nrf/include/fw_info.h:16,
                 from /opt/nordic/ncs/v2.9.1/nrf/include/bl_validation.h:15,
                 from /opt/nordic/ncs/v2.9.1/nrf/subsys/bootloader/bl_validation/bl_validation.c:7:
/opt/nordic/ncs/v2.9.1/nrf/subsys/bootloader/bl_validation/bl_validation.c: In function &amp;#39;validate_firmware&amp;#39;:
/opt/nordic/ncs/v2.9.1/zephyr/include/zephyr/toolchain/gcc.h:87:36: error: static assertion failed: &amp;quot;B0\&amp;#39;s slots aren\&amp;#39;t the same size. Check pm.yml.&amp;quot;
   87 | #define BUILD_ASSERT(EXPR, MSG...) _Static_assert((EXPR), &amp;quot;&amp;quot; MSG)
      |                                    ^~~~~~~~~~~~~~
/opt/nordic/ncs/v2.9.1/nrf/subsys/bootloader/bl_validation/bl_validation.c:374:9: note: in expansion of macro &amp;#39;BUILD_ASSERT&amp;#39;
  374 |         BUILD_ASSERT(PM_S0_SIZE == PM_S1_SIZE,
      |         ^~~~~~~~~~~~
[90/117] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_...r/opt/nordic/ncs/v2.9.1/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
ninja: build stopped: subcommand failed.
[29/54] cd /opt/nordic/ncs/v2.9.1/build/_sysbuild &amp;amp;&amp;amp; /opt/homebrew/Cellar/cmake/3.29.0/bin/cmake -E true
FAILED: modules/nrf/b0-prefix/src/b0-stamp/b0-build /opt/nordic/ncs/v2.9.1/build/modules/nrf/b0-prefix/src/b0-stamp/b0-build 
cd /opt/nordic/ncs/v2.9.1/build/b0 &amp;amp;&amp;amp; /opt/homebrew/Cellar/cmake/3.29.0/bin/cmake --build .
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/homebrew/bin/cmake --build /opt/nordic/ncs/v2.9.1/build&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/533157?ContentTypeID=1</link><pubDate>Mon, 28 Apr 2025 10:49:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b14f8f2b-1b16-4bcf-a7f0-c45e86ee12e0</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello koos,&lt;/p&gt;
&lt;p&gt;I am glad it worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regarding the memory layout of your hello_world attempt, it seems that MCUboot size&amp;nbsp;of 0x5e00 is the perfect size so that s0 and s1 fit into flash pages just right, without requiring any empty partition.&lt;/p&gt;
&lt;p&gt;I realized I proposed the number 0x5e00 in my reply, but I can&amp;#39;t remember if I was aiming for that or not.&amp;nbsp;I think if you change it to 0x5d00 for example, the unfortunate gaps will happen again.&lt;/p&gt;
&lt;p&gt;As for the release of a fix, unfortunately we are not allowed to discuss timeline or plan of any kind on DevZone. You will have to talk with your Nordic sales representative instead. My apology for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/532993?ContentTypeID=1</link><pubDate>Fri, 25 Apr 2025 11:04:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e970613-4872-41b8-acc0-bfca5442bee0</guid><dc:creator>koos</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;/p&gt;
&lt;p&gt;Thanks for the elaborate answer!&lt;/p&gt;
&lt;p&gt;I applied to changes you suggested, works perfectly. Do you have any idea how soon these fixes would be integrated in a next release? I&amp;#39;d rather not make local changes to the SDK, and could work with the regular sizes for now.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you please explain when these sizes issues could occur? If I build this for the hello_world sample, I get the a partitions.yml file in the build folder which corresponds to the following partition&amp;nbsp;report. This doesn&amp;#39;t show any size differences or empty partitions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  flash_primary (0x100000 - 1024kB): 
+--------------------------------------------------+
+---0x0: b0_container (0x7000 - 28kB)--------------+
| 0x0: b0 (0x6000 - 24kB)                          |
| 0x6000: provision (0x1000 - 4kB)                 |
+---0x7000: s0 (0x6000 - 24kB)---------------------+
| 0x7000: s0_pad (0x200 - 512B)                    |
+---0x7200: s0_image (0x5e00 - 23kB)---------------+
| 0x7200: mcuboot (0x5e00 - 23kB)                  |
+---0xd000: s1 (0x6000 - 24kB)---------------------+
| 0xd000: s1_pad (0x200 - 512B)                    |
| 0xd200: s1_image (0x5e00 - 23kB)                 |
+---0x13000: mcuboot_primary (0x76000 - 472kB)-----+
| 0x13000: mcuboot_pad (0x200 - 512B)              |
+---0x13200: app_image (0x75e00 - 471kB)-----------+
+---0x13200: mcuboot_primary_app (0x75e00 - 471kB)-+
| 0x13200: app (0x75e00 - 471kB)                   |
+--------------------------------------------------+
| 0x89000: mcuboot_secondary (0x76000 - 472kB)     |
| 0xff000: EMPTY_0 (0x1000 - 4kB)                  |
+--------------------------------------------------+

  sram_primary (0x40000 - 256kB): 
+--------------------------------------------+
| 0x20000000: sram_primary (0x40000 - 256kB) |
+--------------------------------------------+&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/532062?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 16:04:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9c7571c-ac0a-411b-b049-30d9c087887d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;P.s: There will be further issue if you want to combine both b0 and MCUboot later.&amp;nbsp;s0 and s1 partitions will be resolved to different sizes, resulting in build error.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Due to alignment requirement, there are some empty partitions automatically created to keep &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s0&lt;/span&gt;, &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1&lt;/span&gt;, and their&amp;nbsp;neighboring partitions aligned. However, the empty partition which corresponds to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s0&lt;/span&gt; is placed between its two sub-partitions, &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s0_pad&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s0_image&lt;/span&gt;. Meanwhile, the empty partition which corresponds to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1&lt;/span&gt; is placed after &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1&lt;/span&gt; entirely. It is&amp;nbsp;likely because &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s0_image&lt;/span&gt; is linked to &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;mcuboot&lt;/span&gt;, which has &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v2.1.0-ncs3/boot/zephyr/pm.yml#L8"&gt;an end-address alignment requirement&lt;/a&gt;, while &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1_image&lt;/span&gt; doesn&amp;#39;t have such a requirement.&lt;/p&gt;
&lt;p&gt;There are a few ways to fix this.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Relocate the empty partition after &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1&lt;/span&gt; to between &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1_pad&lt;/span&gt; and &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;s1_image&lt;/span&gt;.&amp;nbsp;&lt;br /&gt;This must be done with a static Partition Manager (PM) configuration file.&amp;nbsp;For more information, please refer here: &lt;a href="https://docs.nordicsemi.com/bundle/ncs-2.9.1/page/nrf/scripts/partition_manager/partition_manager.html"&gt;Partition Manager&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Expand s*_pad&amp;nbsp;and/or s*_image to fill the empty space.
&lt;ol&gt;
&lt;li&gt;This can be done with the static&amp;nbsp;PM file above&lt;/li&gt;
&lt;li&gt;This can also be done via Kconfig.
&lt;ol&gt;
&lt;li&gt;s*_pad size &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v2.9.1/samples/bootloader/pm.yml"&gt;is linked to mcuboot_pad size&lt;/a&gt;, which is &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v2.1.0-ncs3/boot/zephyr/pm.yml#L72"&gt;controlled by CONFIG_PM_PARTITION_SIZE_MCUBOOT_PAD&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;s*_image size is linked to mcuboot partition size, which is &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v2.1.0-ncs3/boot/zephyr/pm.yml#L4"&gt;controlled by&amp;nbsp;CONFIG_PM_PARTITION_SIZE_MCUBOOT&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Overall, I recommend using the static PM configuration to expand both pad and image size,&amp;nbsp;with the image being given a little more size. A system with bootloader should always use static partitioning, and the size increase are&amp;nbsp;in the interest of future proofing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CMake/build errors when applying minimal config to nsib and mcuboot</title><link>https://devzone.nordicsemi.com/thread/532050?ContentTypeID=1</link><pubDate>Wed, 16 Apr 2025 15:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1259e03-9cfc-4573-9825-5a8f870061bd</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hello koos,&lt;/p&gt;
&lt;p&gt;The issue with the minimal b0&amp;nbsp;build was that&amp;nbsp;the application generated is bigger than the size allocated to it. It seems the features have been growing, but the minimal size, &lt;a href="https://github.com/nrfconnect/sdk-nrf/blame/v2.9.1/subsys/bootloader/Kconfig#L181-L194"&gt;which was set years ago&lt;/a&gt;, was left unchanged and no longer fit.&lt;/p&gt;
&lt;p&gt;The fix for this is adding these configurations to the build:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_B0_MIN_PARTITION_SIZE=n
CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x6000&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can do that in b0&amp;#39;s prj_minimal.conf file directly, or add this to the build command:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;-Db0_CONFIG_B0_MIN_PARTITION_SIZE=n -Db0_CONFIG_PM_PARTITION_SIZE_B0_IMAGE=0x6000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The problem with minimal MCUboot build is also outdated configurations. In particular, these lines are outdated and must be removed:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/v2.1.0-ncs3-1/boot/zephyr/prj_minimal.conf#L30-L32"&gt;https://github.com/nrfconnect/sdk-mcuboot/blob/v2.1.0-ncs3-1/boot/zephyr/prj_minimal.conf#L30-L32&lt;br /&gt;&lt;/a&gt;I am not sure why the online commit history shows the file to be 4 months old, but &lt;a href="https://github.com/nrfconnect/sdk-mcuboot/commit/2bcd13a2716d3609645971c5d0aece67eda6bc1b"&gt;it&amp;#39;s actually 4 years old&lt;/a&gt;. My git extension on VS Code is able to show it as 4 years old correctly.&lt;/p&gt;
&lt;p&gt;After fixing those breaking Kconfig, the build will then also have size issue. This is fixed by setting these Kconfig for MCUboot:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BOOT_USE_MIN_PARTITION_SIZE=n
CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x5e00&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Same as for b0, you can do that in MCUboot&amp;#39;s prj_minimal.conf file directly, or add this to the build command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="batchfile"&gt;-Dmcuboot_FILE_SUFFIX=minimal -Dmcuboot_CONFIG_BOOT_USE_MIN_PARTITION_SIZE=n -Dmcuboot_CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x5e00&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I have reported these issues internally. Our apologies for the inconvenience.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>