<?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>Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84549/problem-getting-started-making-a-build-configuration-in-nrf-connect-extension-for-vs-code</link><description>Screenshot of error message 
 
 Hello, I&amp;#39;ve followed the steps required on YouTube for setting up VS code with nrf Connect for desktop and the toolchain manager. It didn&amp;#39;t work for me on Windows 10 and I&amp;#39;ve just updated to a clean install of Windows 11</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Feb 2022 07:13:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84549/problem-getting-started-making-a-build-configuration-in-nrf-connect-extension-for-vs-code" /><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352801?ContentTypeID=1</link><pubDate>Mon, 14 Feb 2022 07:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3eaf19e-49bb-4286-9831-820333edb1fd</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear that 1.8.0 is working in VS Code now!&lt;/p&gt;
[quote user="saul.magnusson"]As for my other question regarding connecting the nrf52840 dongle to VS code, I realize that it doesn&amp;#39;t connect, so I guess VS code connects through the SWD interface somehow on the other boards.[/quote]
&lt;p&gt;The VS Code extension uses nrfjprog to enumerate devices for the connected devices list. Because of this, Dongle and Thingy are not supported at the moment. Hopefully support for this will be added in the future, but until then the solution is to program the device separately, as you did.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352785?ContentTypeID=1</link><pubDate>Sun, 13 Feb 2022 20:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fd57eb1-b015-4d0b-9a5d-fe153b465ae5</guid><dc:creator>saul.magnusson</dc:creator><description>&lt;p&gt;As for my other question regarding connecting the nrf52840 dongle to VS code, I realize that it doesn&amp;#39;t connect, so I guess VS code connects through the SWD interface somehow on the other boards. I succesfully put the hex file for blinky onto the dongle by using the programmer. You can consider my ticket closed, unless there are any more details you&amp;#39;d like to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352770?ContentTypeID=1</link><pubDate>Sat, 12 Feb 2022 19:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af6e58fe-2413-41d1-8706-bc6d9c195125</guid><dc:creator>saul.magnusson</dc:creator><description>&lt;p&gt;Ok. I deleted the 1.8.0 folder and re-installed everything and now 1.8.0 is now working. I believe my problem was that I did not have Python3 installed at the time I installed 1.8.0 and so west didn`t initiate properly.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352738?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 23:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c1a3a9f-cf27-4db4-9cf8-7ee078c4c2db</guid><dc:creator>saul.magnusson</dc:creator><description>&lt;p&gt;Thanks Marte, for your assistance. I have a few things to report. You are indeed right that it seems West was not initialized. When I opened a terminal from the toolchain manager and navigated to my application file and ran &amp;quot;west init&amp;quot; and then &amp;quot;west update&amp;quot; I was then able to build the application, but it then ran into errors of a different type. So it seems you&amp;#39;re on the right track.&lt;/p&gt;
&lt;p&gt;Also, I tried installing the 1.7.1 toolchain and everything works fine for building an application with that version of the toolchain. However my nrf52840 doesn&amp;#39;t show up in the Connected Devices window even though I have it connected through the COM port in VS code, and it is pulsing red. I can open a different ticket for that issue if you like.&lt;/p&gt;
&lt;p&gt;Of the fixes you suggested, I don&amp;#39;t think it is fix 3 since 1.7.1 works fine. I&amp;#39;m going to try fix 4, building from the command line, and I can report back after I&amp;#39;ve completed that. And I tried fix 5 re-installing the toolchain and updating the sdk and that did not work.&lt;br /&gt;&lt;br /&gt;Thanks again for your assistance.&lt;/p&gt;
&lt;p&gt;Here is my NRF connect error report from before I installed 1.7.1 attached.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Nordic-Support-Information.docx"&gt;devzone.nordicsemi.com/.../Nordic-Support-Information.docx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352271?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 10:01:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f32657-a306-4412-8935-6e9035bb6cc5</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the west error you get, west is not initialized, which is why build is not a valid choice. If you were to open a terminal and build on command line with &amp;quot;west build ...&amp;quot; in your application folder,&amp;nbsp;c:\Users\saulm\ncs\apps\blinky, then it would make sense that you are getting this error, since ncs\apps\blinky is not a west folder. However, when building in VS Code, either when when adding the build configuration or by selecting &amp;#39;Build&amp;#39; under &amp;#39;Actions&amp;#39;, this should not be an issue, as the nRF Connect extension should fix this.&lt;/p&gt;
&lt;p&gt;There are some things you can check.&lt;/p&gt;
&lt;p&gt;Go to Settings &amp;gt; Workspace &amp;gt; Extensions &amp;gt; nRF Connect. Make sure that your blinky application is added to&amp;nbsp;&lt;strong&gt;Applications&lt;/strong&gt; there. Additionally, can you share what the Toolchain and Topdir settings are set to?&lt;/p&gt;
&lt;p&gt;You can also try some of the fixes in the guide&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/nrf-connect-sdk-build-fails"&gt;Common fixes for nRF Connect SDK build problems&lt;/a&gt;. Specifically fixes number 3, 4 and 5. For number 4, using the command line, you must test this in an existing sample inside either nrf or zephyr, as you will not be able to use west build from command line in your sample folder. As for number 6, environment variables, if your toolchain in VS Code is set to the toolchain folder of the Toolchain Manager installation, you do not need to add the environment variables to your path.&lt;/p&gt;
&lt;p&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;strong&gt;nRF Connect: Generate support information&lt;/strong&gt;. When you select this the information should be generated in the output terminal windows. You can copy it and upload it here with Insert &amp;gt; Code, and then paste it there.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/352194?ContentTypeID=1</link><pubDate>Thu, 10 Feb 2022 00:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de374238-180b-4b6e-a36f-bac03da1b51c</guid><dc:creator>saul.magnusson</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;I have done so, and I did just try again with another install of everything, this time following the order of installation as shown in the video. Again I get the same error as above when I try to add a build configuration to my application. Your advice on the steps I could take to troubleshoot the problem would be appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem getting started making a build configuration in nrf Connect Extension for VS code</title><link>https://devzone.nordicsemi.com/thread/351991?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 09:32:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa388fa3-3a9b-4a5d-bc3c-fa42d78838bd</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you set nRF Connect SDK version and nRF Connect Toolchain in Quick Setup?&lt;/p&gt;
&lt;p&gt;Please see the&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/connect/install.html"&gt;nRF Connect extensions for VS Code Getting started guide&lt;/a&gt;&amp;nbsp;and make sure you do all the steps.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>