<?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 Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110115/nrf-connect-extension-build-configuration-cached-conf-and-extra-cmake-args</link><description>Hi, 
 
 I added build a conf to my project which has a prj.conf and select board. But the extension overwrites my configs with cache and extra cmake flags, which i dont want. 
 
 How can I disable auto configuration to prevent overwritings my configs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 May 2024 08:51:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110115/nrf-connect-extension-build-configuration-cached-conf-and-extra-cmake-args" /><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/486593?ContentTypeID=1</link><pubDate>Thu, 30 May 2024 08:51:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24c32bc9-3537-436d-ab57-5818988de357</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;I think it&amp;#39;s okay, though I didn&amp;#39;t find a detailed description on how the CMake caching works.&lt;br /&gt;At least while using prj.conf (and possible other Kconfig fragments) it seems that the actual build process works nicely and is consistent as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/486492?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 14:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:050461fe-6b1d-4c1b-ab16-35cd48596d36</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the detailed description. I see the same now. This will be fixed in the next release of the extension and is also fixed in the latest pre-release version (so you can switch to that if you want, but note that the pre-release version may have other issues).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/486453?ContentTypeID=1</link><pubDate>Wed, 29 May 2024 12:51:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74e2e7ff-c9f4-410f-a4e8-dfd78cadd939</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;I did a little testing, and in the process the nRF Connect extension was reloaded and updated. It seems the prj.conf is at least refreshed if there&amp;#39;s changes in the file, could be that my problem was elsewhere as I can&amp;#39;t reproduce it.&lt;br /&gt;Anyhow, the extensions still changes the &amp;quot;Configuration&amp;quot; to the &amp;quot;Use&amp;nbsp;CACHED_CONF_FILE argument&amp;quot;, though it might not be a problem in this case as the argument value points to the project prj.conf.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;Visual Studio Code
Version: 1.89.1
Commit:
dc96b837cf6bb4af9cd736aa3af08cf8279f7685
Date: 2024-05-07T05:16:23.416Z (3 wks ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 5.15.0-89-generic (Ubuntu 22.04)

nRF Connect for VS Code
V2024.3.25
SDK &amp;amp; Toolchain 2.6.1&lt;/pre&gt;&lt;/p&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;" lang="en-GB"&gt;&lt;span style="font-weight:bold;"&gt;Steps to reproduce&lt;/span&gt;&lt;/p&gt;
&lt;ol style="direction:ltr;font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;margin-bottom:0in;margin-top:0in;"&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB" value="1"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;"&gt;Create a new application (copy a sample: serial_lte_modem)&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;Add new build configuration&lt;/span&gt;&lt;ol style="direction:ltr;font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;margin-bottom:0in;margin-top:0in;"&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB" value="1"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;"&gt;nrf9161dk_nrf9161_ns&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;Set Configuration to prj.conf&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;Press Build Configuration&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;The project should build successfully.&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;Editing the Build Configuration shows the Configuration dropdown now has a preset of &amp;quot;Use CACHED_CONF_FILE argument&amp;quot;.&lt;/span&gt;&lt;ol style="direction:ltr;font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;margin-bottom:0in;margin-top:0in;"&gt;
&lt;li style="margin-bottom:0;margin-top:0;vertical-align:middle;" lang="en-GB" value="1"&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;font-style:normal;font-weight:normal;"&gt;The value of the &amp;quot;Extra CMake arguments now include:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-family:Calibri;font-size:11.0pt;margin:0in;margin-left:1.125in;" lang="en-GB"&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-DBOARD_ROOT=&amp;quot;/home/jyri/nrf_ws/serial_lte_modem&amp;quot;
-Dmcuboot_OVERLAY_CONFIG=&amp;quot;/home/jyri/ncs/v2.6.1/nrf/modules/mcuboot/tfm.conf;/home/jyri/ncs/v2.6.1/nrf/modules/mcuboot/fih_low_enable.conf;/home/jyri/ncs/v2.6.1/nrf/subsys/partition_manager/partition_manager_enabled.conf;/home/jyri/nrf_ws/serial_lte_modem/child_image/mcuboot.conf&amp;quot;
-DCACHED_CONF_FILE=&amp;quot;/home/jyri/nrf_ws/serial_lte_modem/prj.conf&amp;quot;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Calibri;font-size:11.0pt;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It seems this is working as intended, it&amp;#39;s just that in the past (like a year or more back) I don&amp;#39;t recall the extension adding those arguments, at least they weren&amp;#39;t displayed while editing the build configuration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/486225?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 14:04:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c989ee-46c7-41bf-ac03-f3751e9a7e65</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have not been able to reproduce this. Can you share wich nRF Connect SDK and which versino of the nRF Connect for VS Code plution you are using, along with exact steps on how to reproduce?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/486093?ContentTypeID=1</link><pubDate>Tue, 28 May 2024 07:14:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e69234e-cd05-4176-988f-d72e740d6656</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;It seems every time pristine build is called from the extension, it adds those arguments and changes the configuration dropdown to cached. This means we have edit the build configuration and remove the extra arguments and set the configuration file back to prj.conf every time they need to be updated.&lt;br /&gt;&lt;br /&gt;Happens on Linux (Ubuntu 22.04) as well as Win 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF Connect Extension: Build Configuration CACHED CONF and extra Cmake args</title><link>https://devzone.nordicsemi.com/thread/478320?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2024 12:40:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:752370ca-6866-41d1-b20e-afec6e7db3a3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You mean the Ektra Cmake arguments in your screenshot? If you hower over the argument you shold see a pencil icon and a cross icon to the right, an di fyou click the cross, you remove it. If this is not it, perhaps you can elaborate a bit more what the problem is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>