<?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>&amp;#39;west&amp;#39; is not recognized with VScode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95702/west-is-not-recognized-with-vscode</link><description>Hi, 
 I have an application that we are migrating from NCS v1.7.0 to v2.2.0. With v1.7.0, I was able to build, flash and monitor using VS Code (on Windows 10). The SDK has been installed using the nRF Connect Toolchain Manager. 
 Our normal build process</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Jan 2023 17:47:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95702/west-is-not-recognized-with-vscode" /><item><title>RE: 'west' is not recognized with VScode</title><link>https://devzone.nordicsemi.com/thread/405327?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 17:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c926535a-90d6-4597-9b61-7139b106f016</guid><dc:creator>dsmith115</dc:creator><description>&lt;p&gt;Thanks - I checked those threads and they did not reveal anything helpful.&lt;/p&gt;
&lt;p&gt;I also tried installing the requirements from the SDK directory:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;span style="background-color:#1a1d21;color:#d1d2d3;float:none;font-family:Slack-Lato, Slack-Fractions, appleLogo, sans-serif;font-size:15px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;pip3 install -r zephyr/scripts/requirements.txt&lt;/span&gt;&lt;br style="background-color:#1a1d21;color:#d1d2d3;font-family:Slack-Lato, Slack-Fractions, appleLogo, sans-serif;font-size:15px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;" /&gt;&lt;span style="background-color:#1a1d21;color:#d1d2d3;float:none;font-family:Slack-Lato, Slack-Fractions, appleLogo, sans-serif;font-size:15px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;pip3 install -r nrf/scripts/requirements.txt&lt;/span&gt;&lt;br style="background-color:#1a1d21;color:#d1d2d3;font-family:Slack-Lato, Slack-Fractions, appleLogo, sans-serif;font-size:15px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;" /&gt;&lt;span style="background-color:#1a1d21;color:#d1d2d3;float:none;font-family:Slack-Lato, Slack-Fractions, appleLogo, sans-serif;font-size:15px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;"&gt;pip3 install -r bootloader/mcuboot/scripts/requirements.txt&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Ultimately, our local Nordic FAE Wes Cherry helped identify the issue.&amp;nbsp; I had &amp;quot;CMake&amp;quot; and &amp;quot;CMake Tools&amp;quot; extensions installed. (not sure when or how those were installed).&amp;nbsp; By disabling those extensions, restarting VScode and launching from the Toolchain Manager, I am able to build again.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;Thank you!&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'west' is not recognized with VScode</title><link>https://devzone.nordicsemi.com/thread/405181?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 09:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b61d90a3-1f50-4599-ba5b-c39bb04c0ea3</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can start by reading these discussions -&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/82438/nrfconnect-sdk-and-vs-code---fatal-error-cmake-is-not-installed-or-cannot-be-found-cannot-build"&gt;first&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/95240/nrf-5340-audio-dk---demo---fatal-error-cmake-is-not-installed-or-cannot-be-found-cannot-build"&gt;second&lt;/a&gt;. I hope you will find them useful.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;CMake should be included in the toolchain if you installed nRF Connect SDK via Toolchain Manager. From the VS Code Command Pallette (CTRL+SHIFT+P) please run nRF Connect: Generate Support Information and provide the information you get using&amp;nbsp;&amp;quot;Insert -&amp;gt; Code&amp;quot;.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'west' is not recognized with VScode</title><link>https://devzone.nordicsemi.com/thread/405065?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 14:09:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e01e6e-be23-4be8-88fd-a27b0d4f0dd6</guid><dc:creator>dsmith115</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;d prefer to figure out why my build environment is broken and fix it!&lt;/p&gt;
&lt;p&gt;West is found in the toolchain path: toolchains\v2.2.0\opt\bin\lib\site-packages&lt;/p&gt;
&lt;p&gt;When checking if west is present using the above command from the VScode powershell, it showed west was not installed.&amp;nbsp; (If I open a command prompt from the toolchain manager and run this command, it DOES show west is present).&lt;/p&gt;
&lt;p&gt;So I tried installing west from powershell in VScode.&amp;nbsp; And now I have a new error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-- west build: generating a build system
FATAL ERROR: CMake is not installed or cannot be found; cannot build.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So for some reason VScode is having trouble finding my build tools?&amp;nbsp; I am opening VScode from the toolchain manager.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'west' is not recognized with VScode</title><link>https://devzone.nordicsemi.com/thread/405052?ContentTypeID=1</link><pubDate>Mon, 16 Jan 2023 13:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25c96820-ea36-4528-9339-7d759360f77a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could consider building your project on another Windows computer which has correctly set up environment.&lt;br /&gt;&lt;br /&gt;Regarding west installation, it should be found in&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;toolchains\v2.2.0\opt\bin\lib\site-packages&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;For installing west, you can use the following command&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;pip3 install -U west&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;You can check if west is present in your system and its location by running the command&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;pip3 show -f west&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>