<?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>VS Code cannot recognize the SDK and toolchain</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127640/vs-code-cannot-recognize-the-sdk-and-toolchain</link><description>HI 
 I&amp;#39;m having an issue where VS Code cannot recognize the SDK and toolchain. Everything was working fine before, but now errors occur when I open VS Code and try to build the project directly, as shown in the picture. How can I fix this? 
 
 
 I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2026 10:36:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127640/vs-code-cannot-recognize-the-sdk-and-toolchain" /><item><title>RE: VS Code cannot recognize the SDK and toolchain</title><link>https://devzone.nordicsemi.com/thread/564304?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2026 10:36:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d345a005-3b21-44f0-9176-dcad750eb6d4</guid><dc:creator>crm</dc:creator><description>&lt;div&gt;I have manually added the following paths to the system environment variables:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;D:\ncs\toolchain\toolchains\66cdf9b75e\opt\bin&lt;/li&gt;
&lt;li&gt;D:\ncs\toolchain\toolchains\66cdf9b75e\opt\zephyr-sdk\arm-zephyr-eabi\bin&lt;/li&gt;
&lt;li&gt;ZEPHYR_BASE = D:\ncs\toolchain\v3.2.1\zephyr&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;Now the build can pass successfully.&lt;br /&gt;But how can I verify that the compiled output is&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;correct and valid&lt;/strong&gt;?&lt;br /&gt;And how can I make this configuration&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;automatic&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;instead of manual?&lt;br /&gt;I have already downgraded the extension to &lt;span&gt;2026.1.1327&amp;nbsp;&lt;/span&gt;, but it still doesn&amp;rsquo;t work.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;After manually adding the environment variables, the compilation passed, but I got these warnings. I didn&amp;rsquo;t pay attention to them before. Are these warnings related to the environment variables I set?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Warning: UPDATEABLE_IMAGE_NUMBER (defined at D:/ncs/toolchain/v3.2.1/nrf/modules/../samples/common/mcumgr_bt_ota_dfu/Kconfig:87, subsys/dfu/Kconfig:96) was assigned the value &amp;#39;1&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: (((BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS) &amp;amp;&amp;amp; SOC_SERIES_NRF53X &amp;amp;&amp;amp; NCS_SAMPLE_MCUMGR_BT_OTA_DFU) || (!MCUBOOT &amp;amp;&amp;amp; IMG_MANAGER)) (=n). See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER" rel="noopener noreferrer" target="_blank"&gt;http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UPDATEABLE_IMAGE_NUMBER&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and/or look up UPDATEABLE_IMAGE_NUMBER in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Warning: MCUBOOT_UPDATE_FOOTER_SIZE (defined at subsys/dfu/Kconfig:55) was assigned the value &amp;#39;0x50&amp;#39; but got the value &amp;#39;&amp;#39;. Check these unsatisfied dependencies: MCUBOOT_IMG_MANAGER (=n), IMG_MANAGER (=n). See&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE" rel="noopener noreferrer" target="_blank"&gt;http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_MCUBOOT_UPDATE_FOOTER_SIZE&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and/or look up MCUBOOT_UPDATE_FOOTER_SIZE in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code cannot recognize the SDK and toolchain</title><link>https://devzone.nordicsemi.com/thread/564298?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2026 09:21:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:613d51ce-082f-4069-a0f0-71a6a64c5a11</guid><dc:creator>crm</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1774949129984v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How do I downgrade it?&lt;/li&gt;
&lt;li&gt;Yes, I think ZEPHYR_BASE should be set automatically. Otherwise, having different configurations for different SDKs is very inconvenient.&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code cannot recognize the SDK and toolchain</title><link>https://devzone.nordicsemi.com/thread/564293?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2026 09:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b80b1ae-9c49-434c-84e0-b6dfa2e58bae</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Try downgrading the nrf connect extension to 2026.1.1327 version.&lt;/p&gt;
&lt;p&gt;Note that ZEPYHR_BASE sounds like a terrible idea when using vs code plugin - it should be handled internally AFAIK and point to the selected NCS SDK for a project when compiling/running tools.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>