<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>NCS 2.0.0 - unable to build with right toolchain on command line (Windows)</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88703/ncs-2-0-0---unable-to-build-with-right-toolchain-on-command-line-windows</link><description>Hello, 
 I installed NCS 2.0.0 via toolchain manager (Windows). 
 However, if I: 
 
 open a new cmd window 
 set ZEPHYR_BASE to &amp;lt;ZEPHYR_NCS_2_0_0_PATH&amp;gt; 
 try to build an example within NCS 2.0.0 
 
 I see that the project is still using the old toolchain</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 08 Jun 2022 08:14:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88703/ncs-2-0-0---unable-to-build-with-right-toolchain-on-command-line-windows" /><item><title>RE: NCS 2.0.0 - unable to build with right toolchain on command line (Windows)</title><link>https://test-devzone.nordicsemi.com/thread/371309?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 08:14:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55e8f3f9-f877-44df-af10-880ca0ea8481</guid><dc:creator>user90495</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://test-devzone.nordicsemi.com/members/user3349"&gt;user3349&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;thanks for the reply.&lt;/p&gt;
&lt;p&gt;YES, that must be the reason!&lt;/p&gt;
&lt;p&gt;I really hope you&amp;#39;re releasing a hotfix for this, right?&lt;/p&gt;
&lt;p&gt;Anyway, your workaround is working &lt;span class="emoticon" data-url="https://test-devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f44c.svg" title="Ok hand"&gt;&amp;#x1f44c;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS 2.0.0 - unable to build with right toolchain on command line (Windows)</title><link>https://test-devzone.nordicsemi.com/thread/371291?ContentTypeID=1</link><pubDate>Wed, 08 Jun 2022 07:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4d632d1-3bc2-42d8-b576-b23fcbaa5aaf</guid><dc:creator>user3349</dc:creator><description>&lt;p&gt;Hi davage,&lt;br /&gt;&lt;br /&gt;It seems that the minimum toolchain version specified in NCS v2.0.0 here is wrong:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/880c82dba48655ee3a75edaefa0208782967ff17/scripts/ncs-toolchain-version-minimum.txt#L3"&gt;https://github.com/nrfconnect/sdk-nrf/blob/880c82dba48655ee3a75edaefa0208782967ff17/scripts/ncs-toolchain-version-minimum.txt#L3&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;it seems to not have been updated correctly to 2.0.0 for the latest release.&lt;/p&gt;
&lt;p&gt;This means that if both NCS v1.9.0 and v2.0.0 are installed, then the system might pick up toolchain 1.9.0.&lt;br /&gt;One way to enforce the use of NCS Toolchain v2.0.0 is to use the CMake setting NCS_TOOLCHAIN_VERSION, as:&lt;br /&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
&lt;div style="font-family:&amp;#39;Cascadia Code&amp;#39;, Consolas, ui-monospace, Menlo, Monaco, monospace;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:pre;"&gt;
&lt;pre&gt;$ west build -b nrf52840dk_nrf52840 --pristine -- -DNCS_TOOLCHAIN_VERSION=2.0.0&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;To avoid typing this for each build in this workspace, you can set this permanently for the workspace using `west config` like this:&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span class="n"&gt;west&lt;/span&gt; &lt;span class="n"&gt;config&lt;/span&gt; --local &lt;span class="n"&gt;build&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;cmake&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;args&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;D&lt;/span&gt;NCS_TOOLCHAIN_VERSION=2.0.0&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;Best regards&lt;br /&gt;&lt;br /&gt;Torsten&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>