<?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>[nRF5340+External Flash] - How to increase MCUBoot partition?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101187/nrf5340-external-flash---how-to-increase-mcuboot-partition</link><description>Hi there, 
 I am developing on nRF5340-DK using NCS. I am using the onboard external flash to hold the MCUBoot secondary image slot so that I can support larger application images. 
 I would like to enable some additional features in MCUBoot (Serial recovery</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Jun 2023 12:35:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101187/nrf5340-external-flash---how-to-increase-mcuboot-partition" /><item><title>RE: [nRF5340+External Flash] - How to increase MCUBoot partition?</title><link>https://devzone.nordicsemi.com/thread/432971?ContentTypeID=1</link><pubDate>Mon, 26 Jun 2023 12:35:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8eecd0c-f337-4e2d-918b-6e2711cc5c3c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can use &lt;span&gt;&lt;span dir="ltr"&gt;&lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/e83eaec6bf26e2ee1234608b9b5791b6ce56b623/modules/mcuboot/boot/zephyr/kconfig#l21c8-l21c33" href="https://github.com/nrfconnect/sdk-nrf/blob/e83eaec6bf26e2ee1234608b9b5791b6ce56b623/modules/mcuboot/boot/zephyr/Kconfig#L21C8-L21C33" rel="noopener noreferrer" target="_blank"&gt;CONFIG_PM_PARTITION_SIZE_MCUBOOT&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; for this.&lt;br /&gt;That would be inside &lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;child_image/mcuboot/boards/nrf5340dk_nrf5340_cpuapp.conf&lt;/span&gt;. &lt;br /&gt;See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/multi_image/index.html"&gt;multi image builds&amp;nbsp; &lt;/a&gt;for how this file overwrites default MCUboot configs:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1687782855944v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Use child_image/mcuboot.conf if you want to overlay instead.&lt;br /&gt;Also mark that this requires (G), so if you do not have (G), you can not use the path your use.&lt;/p&gt;
&lt;p&gt;Or you can do it using &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;static partitioning&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>