<?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 Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125833/vs-code-not-finding-zephyr-include-paths</link><description>I&amp;#39;m following the dev academy lessons and I&amp;#39;m having a bit of an issue where VS Code intellisense isn&amp;#39;t picking up on the include paths from zephyr (e.g. #include &amp;lt;zephyr/kernel.h&amp;gt; ). I&amp;#39;m using v3.1.1 of the SDK/toolchain. The lesson says that these errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Dec 2025 18:02:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125833/vs-code-not-finding-zephyr-include-paths" /><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/556050?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 18:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f59fa87-60df-4641-be26-ea0af292399a</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Do you see the same issue if you add NCS folder to your workspace?&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><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/556048?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 17:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d622bde-567f-4c56-a877-fee8c71c0499</guid><dc:creator>viggyd-blur</dc:creator><description>&lt;p&gt;This issue is present in other samples as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/125833/vs-code-not-finding-zephyr-include-paths/556046"]Can you elaborate on this? Is there an action on your side that you would want to do but cannot do due to these error squiggles?&lt;br /&gt;[/quote]
&lt;p&gt;I would like to view the source code of kernel function calls, but I cannot because VS Code Intellisense cannot find the headers/source files. For example, I want to see the code that is executed when the `gpio_is_ready_dt` function is called, but I cannot see the source code due to the error squiggles.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/556046?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 17:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84fce35b-02e7-4c60-9020-5f808da7020f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Have you tested any other sample? Is this issue also present with other samples?&lt;/p&gt;
[quote user="viggyd-blur"]I need to be able to look through the full source code when I&amp;#39;m debugging issues. I need to be able to see what these kernel function calls are doing if my program is not behaving as expected. Again, I don&amp;#39;t have a problem right now, everything compiles and works fine, but I have always needed to look through files like this during the course of my work.[/quote]
&lt;p&gt;Can you elaborate on this? Is there an action on your side that you would want to do but cannot do due to these error squiggles?&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><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/555924?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 21:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928b7a84-1598-49a1-bdbc-ebe2ae3da486</guid><dc:creator>Stanley Jackson</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Im having a similar issue. My application builds and runs fine but the &amp;quot;red squiggles&amp;quot; dont go away.&lt;br /&gt;SDK: v3.1.1&lt;br /&gt;Toolchain: v3.1.1&lt;br /&gt;nRF Connect VSCode extension: v&lt;span&gt;2025.9.798&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Something else of note, in the VSCode output window (nRF Connect selected in the dropdown), I see the following error:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[09:54:07] Stale build configuration (modbus_rtu_server_test - build): Unable to find the SDK at path: C:/ncs/v3.1.1/zephyr
[09:54:12] Failure (code 1).
[09:54:15] Stale build configuration (modbus_rtu_server_test - build): Unable to find the SDK at path: C:/ncs/v3.1.1/zephyr
[09:54:15] Stale build configuration (modbus_rtu_server_test - build/modbus_rtu_server_test): Unable to find the SDK at path: C:/ncs/v3.1.1/zephyr&lt;/pre&gt;&lt;br /&gt;I have checked that file path and there stuff there.&lt;br /&gt;&lt;br /&gt;I have just recently moved from SDK v2.7.0 to v3.1.1 (to get support for the nRF54L15DK).&lt;br /&gt;I did not have this issue with v2.7.0 (although that SDK does not support the nRF54)&lt;/p&gt;
&lt;p&gt;I too noticed the lack of `compile_commands.json` in the build output directory (where previously with v2.7.0 it was there).&lt;/p&gt;
&lt;p&gt;I hope this provides some more information and I look forward to hearing any other suggestions.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/555862?ContentTypeID=1</link><pubDate>Mon, 01 Dec 2025 13:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4517d8b1-0016-40ad-bf3f-d78b704a7fd1</guid><dc:creator>viggyd-blur</dc:creator><description>&lt;p&gt;Here&amp;#39;s the link to the lesson that I&amp;#39;m using:&amp;nbsp;&lt;a id="" href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/topic/exercise-2-1/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/topic/exercise-2-1/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Specifically, this blurb says they should go away:&lt;/p&gt;
&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/pastedimage1764594570761v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a screenshot of my workspace:&lt;/p&gt;
&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/pastedimage1764594703930v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="111786" url="~/f/nordic-q-a/125833/vs-code-not-finding-zephyr-include-paths/555548"]Can you describe what you want to do in more detail?&lt;br /&gt;[/quote]
&lt;p&gt;It&amp;#39;s not that I&amp;#39;m having a problem right now, but when working on projects, I need to be able to look through the full source code when I&amp;#39;m debugging issues. I need to be able to see what these kernel function calls are doing if my program is not behaving as expected. Again, I don&amp;#39;t have a problem right now, everything compiles and works fine, but I have always needed to look through files like this during the course of my work.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VS Code Not Finding Zephyr Include Paths</title><link>https://devzone.nordicsemi.com/thread/555548?ContentTypeID=1</link><pubDate>Wed, 26 Nov 2025 17:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e78b920-e48f-492d-8e28-70b34c3f9d34</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Are you able to show your observations using some simple nrf sample?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you point to the lesson which says that errors should go away?&lt;/p&gt;
[quote user=""] It&amp;#39;s very useful to be able to look through included header files[/quote]
&lt;p&gt;Can you describe what you want to do in more detail?&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>