<?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>How to override automatic BOARD_ROOT in VS Code extension</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102884/how-to-override-automatic-board_root-in-vs-code-extension</link><description>I&amp;#39;m using VS Code 1.81.1 on Windows 10. The behavior described below occurs with (at least) nRF Connect extension versions 2023.4.179, 2023.6.345, and 2023.7.129. When I add a build configuration in my application I select a board (a custom board I&amp;#39;ve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 Aug 2023 19:19:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102884/how-to-override-automatic-board_root-in-vs-code-extension" /><item><title>RE: How to override automatic BOARD_ROOT in VS Code extension</title><link>https://devzone.nordicsemi.com/thread/442135?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 19:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be4e257-94fc-4315-b8fb-b8761f474f1c</guid><dc:creator>caeg</dc:creator><description>&lt;p&gt;Thank you. This environment was installed with Toolchain manager, however I did modify the installed version of the extension in VS code in order to test whether this was a new behavior.&lt;/p&gt;
&lt;p&gt;The nrf-connect.boardRoots setting did indeed contain the problematic board path. I don&amp;#39;t recall adding it there but it must have been my doing! With that cleaned up the CMake warning no longer occurs. Thanks for reminding me of this setting.&lt;/p&gt;
&lt;p&gt;It still seems odd (misleading) that the GUI allows to edit the &amp;quot;Extra CMake arguments&amp;quot; for BOARD_ROOT, even though edits will be discarded. At least now I have a better understanding of how to manipulate its auto-generated content.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to override automatic BOARD_ROOT in VS Code extension</title><link>https://devzone.nordicsemi.com/thread/441603?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d273eb8-8ced-43a9-aed2-aad528b4455f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Generally I would recommend using the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/installation/assistant.html"&gt;Toolchain manager&lt;/a&gt;&amp;nbsp;on Windows, and then you will get the environment we test (including with nRF Connect for VS Code). But regardless, you can provide the Board Root by setting&amp;nbsp;nrf-connect.boardRoots in your VS Code settings. Have you done that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>