<?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>NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90918/nrf-connect-sdk-builds-pristine-builds-ignore-child-image-configuration-with-custom-boards</link><description>Hi, 
 I am using the VSCode nRF Connect extension with nRF Connect SDK v2.0.0 (according to the Toolchain Manager). I have a custom board with a U-Blox NRF5340 module on it. I am running into an issue with the Throughput example where the very first compilation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2024 15:14:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90918/nrf-connect-sdk-builds-pristine-builds-ignore-child-image-configuration-with-custom-boards" /><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/480263?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 15:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:339fecf5-668c-4392-959e-f7ed2efd956d</guid><dc:creator>dwalks</dc:creator><description>&lt;p&gt;I gave up with the child image and set&amp;nbsp;the conf file via cmake flags instead.&amp;nbsp;It works as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/480226?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 13:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56668c29-f17d-49a1-b397-8badbf17724d</guid><dc:creator>dwalks</dc:creator><description>&lt;p&gt;To clarify, this applies for custom and non custom boards&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/480225?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 13:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ab56bac-2278-4db2-9acc-4eb29cb6d2fe</guid><dc:creator>dwalks</dc:creator><description>&lt;p&gt;I am also finding this to be the case.&lt;br /&gt;&lt;br /&gt;There appear to be 2 problems with the build process.&lt;br /&gt;&lt;br /&gt;Immediately after configure, not all flags are passed to west. For mcuboot, -Dmcuboot_OVERLAY_CONFIG is missing.&lt;br /&gt;&lt;br /&gt;If you then run a pristine build, then project will now build correctly, however the west arguments have change subtly again.&lt;br /&gt;&lt;br /&gt;Now, instead of supplying&amp;nbsp;-DCONF_FILE, west is now given&amp;nbsp;-DCACHED_CONF_FILE. This seems to be critical to getting the build to work, as a subsequent build using&amp;nbsp;&lt;span&gt;-DCONF_FILE does not work.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;You will only notice this failing for this particular example (mcuboot) if you require the build to be minimised. When build process doesn&amp;#39;t minimise mcuboot, but your mcuboot partition has been reduced, the image won&amp;#39;t fit and the build will fail.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;After configure:

west build --build-dir &amp;lt;PATH&amp;gt;/app/build &amp;lt;PATH&amp;gt;/app 
--pristine 
--board xxx@y.y.y 
--no-sysbuild -- 
-DNCS_TOOLCHAIN_VERSION=NONE 
-DCONF_FILE=&amp;lt;PATH&amp;gt;/app/prj_release.conf 
-DEXTRA_CONF_FILE=frag_mcuboot.conf

Pristine build:

west build --build-dir &amp;lt;PATH&amp;gt;/app/build &amp;lt;PATH&amp;gt;/app 
--pristine 
--board xxx@y.y.y 
--no-sysbuild -- 
-DNCS_TOOLCHAIN_VERSION=NONE 
-Dmcuboot_OVERLAY_CONFIG=&amp;lt;WORKSPACE&amp;gt;/nrf/subsys/partition_manager/partition_manager_enabled.conf 
-DCACHED_CONF_FILE=&amp;lt;PATH&amp;gt;/app/prj_release.conf 
-DEXTRA_CONF_FILE=&amp;lt;PATH&amp;gt;/app/frag_mcuboot.conf&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/465220?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 07:17:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73801095-eef1-4a96-935b-e8948bde62f0</guid><dc:creator>SJahnke</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/didrik-rokhaug"&gt;Didrik Rokhaug&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;is there already a solution in the pipe for the VS Code extension? I noticed, that this is still a problem in my setup. I used a custom nRF5340 development board in combination with the nRF Connect SDK version 2.5.0 and the radio_test sample. I tried to change the configuration (overlay file) in the child image, but when doing a new build, it ignores my overlay file for the build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/381422?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 17:17:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad617873-f769-40ac-8772-73c47486094b</guid><dc:creator>bryan_aerel</dc:creator><description>&lt;p&gt;Thank you for the quick reply!&lt;/p&gt;
&lt;p&gt;I just tested it and can confirm it is also not working on non-custom boards. That&amp;#39;s strange as I am almost certain it was working with them earlier. However, I did reinstall the SDK trying to get it work so maybe that&amp;#39;s a contributing factor.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your workaround, I had not thought about that. I&amp;#39;ll have to figure out exactly what command line options and whatnot to use for my real application. Simply comparing the commands that the extension runs for the throughput example, on the second build it&amp;#39;s identical except for 2 additional options. I don&amp;#39;t understand why adding those 2 options causes the child image configuration to be excluded, or why the original build even works without them, but I&amp;#39;m sure you guys already have that figured out &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt; -DCONF_FILE:STRING=&amp;quot;c:/Users/rapidrs/Desktop/53ble/throughput/prj_nrf5340dk_nrf5340_cpuapp.conf&amp;quot; -DDTC_OVERLAY_FILE:STRING=&amp;quot;c:/Users/rapidrs/Desktop/53ble/throughput/dts.overlay&amp;quot;&lt;/pre&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect SDK Builds/Pristine Builds Ignore Child Image Configuration With Custom Boards</title><link>https://devzone.nordicsemi.com/thread/381397?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 14:19:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c097490-fcfb-476d-b1bb-8b85ff4e72f4</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for reporting this. I have forwarded it to our developers.&lt;/p&gt;
&lt;p&gt;Can you confirm that it only happens with custom boards for you?&lt;/p&gt;
&lt;p&gt;Because when I tried, I was able to reproduce it without creating a custom board.&lt;/p&gt;
&lt;p&gt;However, if I use West directly from the terminal, I am not able to reproduce it. So that might be a solution until we can fix it properly.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>