<?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>NCS 2.9.0 - sysbuild - mcuboot - using board specific config requests for general &amp;quot;prj.conf&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119189/ncs-2-9-0---sysbuild---mcuboot---using-board-specific-config-requests-for-general-prj-conf</link><description>NCS 2.9.0 
 Adding mcuboot to sysbuild and using &amp;quot;sysbuild/mcuboot.conf&amp;quot; works as described in Academy exercise-1-configuring-extra-image . 
 But if I want to use a board specifc config, e.g. using &amp;quot;sysbuild/mcuboot/boards/thingy91_nrf9160.conf&amp;quot;, I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Feb 2025 13:59:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119189/ncs-2-9-0---sysbuild---mcuboot---using-board-specific-config-requests-for-general-prj-conf" /><item><title>RE: NCS 2.9.0 - sysbuild - mcuboot - using board specific config requests for general "prj.conf"?</title><link>https://devzone.nordicsemi.com/thread/524108?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 13:59:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87675166-9c29-4adb-a0c5-a98c6b44e8bd</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Thanks for the fast reply. &lt;/p&gt;
&lt;p&gt;&amp;gt; You likely need a prj.conf in &amp;lt;sysbuild/mcuboot&amp;gt; as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The question will be why?&lt;/p&gt;
&lt;p&gt;The project specific stuff goes to &amp;quot;sysbuild/mcuboot.conf&amp;quot;, the project &amp;amp; board specific stuff to &amp;quot;sysbuild/mcuboot/boards/&amp;lt;board&amp;gt;_&amp;lt;cpu&amp;gt;.conf&amp;quot;. For me this looks more like something not considered, rather than really be intended. &lt;/p&gt;
&lt;p&gt;&amp;gt; I think you can leave the&amp;nbsp;&lt;span&gt;sysbuild/mcuboot prj.conf empty&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The build then fails with an empty &amp;quot;prj.conf&amp;quot; caused by config warnings.&lt;/p&gt;
&lt;p&gt;&amp;quot;warning: FLASH_MAP (defined at subsys/storage/flash_map/Kconfig:10) has direct dependencies FLASH_HAS_DRIVER_ENABLED with value n, but is currently being y-selected by the following symbols:&lt;br /&gt;&amp;nbsp;- MCUBOOT_DEVICE_SETTINGS (defined at ..../ncs/v2.9.0/bootloader/mcuboot/boot/zephyr/Kconfig:995), with value y, direct dependencies y (value: y)&amp;quot;&lt;/p&gt;
&lt;p&gt;So, I guess for now it should be clear, which &amp;quot;prj.conf&amp;quot; should be used.&lt;/p&gt;
&lt;p&gt;And for the future, if this is an issue, which will change in a future version. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.9.0 - sysbuild - mcuboot - using board specific config requests for general "prj.conf"?</title><link>https://devzone.nordicsemi.com/thread/524087?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 13:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48eda529-d5c2-4b5b-a195-d7268832e6a1</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user=""]But if I want to use a board specifc config, e.g. using &amp;quot;sysbuild/mcuboot/boards/thingy91_nrf9160.conf&amp;quot;, I get[/quote]
&lt;p&gt;This looks correct. See how it&amp;#39;s done e.g. here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge/sysbuild/mcuboot/boards"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/applications/connectivity_bridge/sysbuild/mcuboot/boards&lt;/a&gt;&lt;/p&gt;
[quote user=""]&lt;p&gt;-- Board: thingy91, qualifiers: nrf9160&lt;br /&gt;CMake Error at /home/achim/ncs/v2.9.0/zephyr/cmake/modules/extensions.cmake:2923 (message):&lt;br /&gt;&amp;nbsp; No prj.conf file(s) was found in the&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To fix that, I use a &amp;quot;sysbuild/mcuboot/prj.conf&amp;quot;.&lt;/p&gt;[/quote]
&lt;p&gt;You likely need a prj.conf in &amp;lt;sysbuild/mcuboot&amp;gt; as well. If you only have board specific things you want to set, i.e. only have&amp;nbsp;thingy91_nrf9160.conf, I think you can leave the&amp;nbsp;&lt;span&gt;sysbuild/mcuboot prj.conf empty. (but the file likely needs to be present anyways).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>