<?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>Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86696/cannot-build-system-with-vs-code</link><description>Hi, 
 
 This is a repeat of case 279137 but I see no answer to that so here goes again... 
 I am building sample Zephyr applications in VS Code. Everything was working fine yesterday but today, after trying to upgrade to nRF Connect SDK 1.9.1, I am getting</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Apr 2022 07:34:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86696/cannot-build-system-with-vs-code" /><item><title>RE: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362755?ContentTypeID=1</link><pubDate>Mon, 11 Apr 2022 07:34:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9edf2379-dbf2-44b3-ba88-2097b6cde5e9</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi AC,&lt;/p&gt;
&lt;p&gt;That is great to hear, and thank you for sharing how you fixed it!&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: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362552?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 10:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b72ac5c-cc09-462e-aaea-d1c6168feb5d</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Just to let you know, I completely removed all nRF Connect SDK versions (and a Zephyr library that I had in another unrelated folder). Then I cleaned VS Code by removing the ~/.vscode file and ~/Library/Application Support/Code folder. I then re-installed three versions of nRF Connect SDK: 1.8.0, 1.9.0 and 1.9.1.&lt;/p&gt;
&lt;p&gt;Joyful, joyful, I can now create build configurations for nrf5340dk_nrf5340_cpuapp and&amp;nbsp;&lt;span&gt;nrf5340dk_nrf5340_cpunet for all three SDK versions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t know what the original problem was but I suspect that some configuration in the SDK was corrupted/set incorrectly. Deleting the SDKs and re-installing cleaned things up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let&amp;#39;s close this thread and thank you for your support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;AC&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362521?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 08:48:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8259e0b0-4917-41ba-8ab6-0838a30b88c2</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;I get the west error when I try to build a new build configuration. At the moment, I don&amp;#39;t have any old build configurations to delete:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2022_2D00_04_2D00_08-at-09.42.57.png" /&gt;&lt;/p&gt;
&lt;p&gt;Clicking on the &amp;quot;+&amp;quot; sign to create a new build configuration gives me the west error.&lt;/p&gt;
&lt;p&gt;I have also done a clean install of the nRF SDK (via Toolchain Manager) and completely cleaned an re-installed VS Code several times but I still get the error.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;AC&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362508?ContentTypeID=1</link><pubDate>Fri, 08 Apr 2022 08:15:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f01140-d509-4c31-93de-a585ba51329c</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi AC,&lt;/p&gt;
&lt;p&gt;When you wrote that you changed back to v1.8.0 I read it as you no longer seeing the error after switching back, but now I see that I was mistaken.&lt;/p&gt;
&lt;p&gt;Have you tried to create a new build configuration after updating, or are you using the same build configuration as previously? I have seen this issue before, and in that case deleting the old build configuration and creating a new one solved the issue.&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: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362428?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 16:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6257d76f-f99b-4d13-bb10-504fb709bd6a</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;The above is the environment that does not build. I did make a typo above. The toolchain install dir is:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Toolchain install dir:&amp;nbsp;/opt/nordic/ncs/v1.8.0/toolchain&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;not&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Toolchain install dir:&amp;nbsp;/opt/nordic/ncs/v1.8.0/zephyr/toolchain&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;AC&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot build system with VS Code</title><link>https://devzone.nordicsemi.com/thread/362356?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 13:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290bb0df-63e0-43f2-bfde-c83ab3ad9935</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi AC,&lt;/p&gt;
&lt;p&gt;Can you generate support information of the environment you are seeing the error in?&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>