<?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>After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104126/after-upgrade-to-2023-9-339-version-of-nrf-connect-plugin-for-vscode-and-a-restart-projects-have-returned-to-the-the-build-configuration-is-stale-run-a-pristine-build-state</link><description>Looks like I spoke too soon, the Pristine Build issue appeared fixed after the latest upgrade of the plugin for the issue I described here (closed) 
 https://devzone.nordicsemi.com/f/nordic-q-a/103925/after-upgrade-to-2023-9-169-version-of-nrf-connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Oct 2023 11:34:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104126/after-upgrade-to-2023-9-339-version-of-nrf-connect-plugin-for-vscode-and-a-restart-projects-have-returned-to-the-the-build-configuration-is-stale-run-a-pristine-build-state" /><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448629?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2023 11:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7143ae3-cb5d-474c-a738-2cbd34e4534b</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for elaborating, and for updating on your current situation.&lt;br /&gt;I am glad to read that it now seems to be resolved - I definitely think that this could trigger the &amp;#39;stale build&amp;#39; issue you described earlier.&lt;br /&gt;&lt;br /&gt;Please do not hesitate to ask if you should encounter any other issues or questions in the future! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448555?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 15:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79cb7514-f71a-4d66-8e7e-d0d6dff39860</guid><dc:creator>Joe Kane</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
&lt;p&gt;I did use the tool manager to uninstall and reinstall.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Actually, on my system there is a symbolic junction point that creates a virtual logical D drive. There is only one physical drive in the system (C:\), so symlink junction &amp;nbsp; &amp;#39; D:\&amp;#39; points to&amp;nbsp; the sub-directory at &amp;#39;C:\D&amp;#39;.&amp;nbsp; Both should be equivalent but maybe this is confusing the latest plugin.&lt;/p&gt;
&lt;p&gt;However, this same exact setup was working just fine on the prior versions of VScode plugin, unless maybe the uninstall/reinstall used different paths.&lt;/p&gt;
&lt;p&gt;But this was a good clue.&lt;/p&gt;
&lt;p&gt;the output of the query shows the NCS entries with d drive paths:&lt;pre class="ui-code" data-mode="text"&gt;HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\NcsToolchain
    308a637a0e3b346e3a3a66482bb8c2ed    REG_SZ    D:/Git/ncs/toolchains/v2.3.0/cmake
    d970e5fd2486c4e06195d6bbfee4f8a4    REG_SZ    D:/Git/ncs/toolchains/31f4403e35/cmake&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So for experiment, I used regedit and changed the paths to be C drive based:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;HKEY_CURRENT_USER\Software\Kitware\CMake\Packages\NcsToolchain
    308a637a0e3b346e3a3a66482bb8c2ed    REG_SZ    c:/d/Git/ncs/toolchains/v2.3.0/cmake
    d970e5fd2486c4e06195d6bbfee4f8a4    REG_SZ    c:/d/Git/ncs/toolchains/31f4403e35/cmake&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I did lose the active board build configuration as a result, but after re adding it and rebuilding&amp;nbsp; things seem to be working, and the stale build state is gone. I will work with it for a little to see if this holds.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448542?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 14:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63ee01a9-30b9-4c01-8444-714c327c80fa</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for providing the additional information.&lt;br /&gt;&lt;br /&gt;Our developers took a look at the generated support information and it looks to them like your toolchain installation has failed - it appears as though your toolchain is located in d:\Git, but the executables are found in c:\d\Git, which also seems to be the case for the SDK.&lt;br /&gt;They speculate that you perhaps have some invalid paths somewhere in your setup.&lt;br /&gt;Could you run the following command in a cmd terminal and share the output here?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;reg query HKCU\Software\Kitware\CMake\Packages\NcsToolchain&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;In your previous ticket you said that you had tried to uninstall and reinstall the SDK and toolchain to see if this could fix the issue - could you confirm whether you did this through the manual installation of the SDK &amp;amp; Toolchain, or if you used the Toolchain Manager application in nRF Connect for Desktop?&lt;/p&gt;
[quote user="Joe Kane"]Can you share any detail about how&amp;nbsp; nrf connect determines stale state that may shed a clue?&amp;nbsp; Is it hashing particular files or paths or something?[/quote]
&lt;p&gt;To determine if a build is stale it checks whether the build uses the compiler in the active toolchain, and that the SDK still matches.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448327?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 11:13:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87c4a191-3ddd-45f4-b13a-6f021f001bb1</guid><dc:creator>Joe Kane</dc:creator><description>&lt;p&gt;Karl, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here is the file.&amp;nbsp; Also a screen shot showing still in pristine state.&amp;nbsp; While builds do work and debugging works, the device tree and other related build files (input files/output files) etc are unavailable from nrf connect in this state.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Can you share any detail about how&amp;nbsp; nrf connect determines stale state that may shed a clue?&amp;nbsp; Is it hashing particular files or paths or something?&lt;/p&gt;
&lt;p&gt;Or maybe some detail about the first fix that was applied on my original ticket that could help?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf_5F00_connect_5F00_support_5F00_info.zip"&gt;devzone.nordicsemi.com/.../nrf_5F00_connect_5F00_support_5F00_info.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&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/pastedimage1695985741716v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448307?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2023 10:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61d44d41-66d1-48f2-ba7b-795aa5b9bec6</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Everything looks quite right here - there is nothing in the build the build that should make it appear stale.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Can you also generate support information and upload it here? Open command palette (ctrl+shift+p or View &amp;gt; Command Palette) and write&amp;nbsp;&lt;/span&gt;&lt;strong&gt;nRF Connect: Generate support information&lt;/strong&gt;&lt;span&gt;. When you select this the information should be generated in the output terminal windows.&lt;br /&gt;Then our VSC Extension developers can take a look and see if they can spot the cause of this issue.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448192?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 14:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01515668-10f4-48fc-9840-5f2b6f50a78a</guid><dc:creator>Joe Kane</dc:creator><description>&lt;p&gt;Karl,&lt;/p&gt;
&lt;p&gt;Here is an entire zipped blinky project . I deleted the build folder, did a pristine build.&amp;nbsp; all logs and files should be there for you.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sandbox.zip"&gt;devzone.nordicsemi.com/.../sandbox.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448174?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 13:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1b6ff9d-d298-4834-a96a-1033e8f5f20e</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again,&lt;br /&gt;&lt;br /&gt;Could you fully delete the &amp;#39;build&amp;#39; folder, do a pristine build, and provide the full log from your build when this happens?&lt;br /&gt;If you could also share your CMakeCache.txt (at least for&amp;nbsp;ZEPHYR_BASE, CMAKE_C_COMPILER, but the whole thing would be most helpful) that would also be very helpful! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After Upgrade to 2023.9.339 version of NRF Connect Plugin for VScode, and a restart,  projects have returned to the  “The Build Configuration is stale. Run a Pristine Build” State.</title><link>https://devzone.nordicsemi.com/thread/448138?ContentTypeID=1</link><pubDate>Thu, 28 Sep 2023 11:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37822ceb-1d79-41b9-a987-1d753f7fd7fc</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Thank you for your patience with this.&lt;br /&gt;I have reached out to the developers again and I will update you as soon as I hear back from them.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>