<?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>Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118046/moving-to-2-9-0-from-2-7-0</link><description>In 2.7.0 in file c_cpp_properties.json I had direct path to compiler. Now moving I need to change the path. 
 AI suggested to use ${nrf-connect.toolchain} for compiler and ${nrf-connect.sdk} for sdk. 
 Unlike launch.json where it works, in c_cpp_properties</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jan 2025 14:01:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118046/moving-to-2-9-0-from-2-7-0" /><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/520737?ContentTypeID=1</link><pubDate>Thu, 30 Jan 2025 14:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1716fdf1-baa9-4b69-9276-f014332060d6</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Could you try adding&amp;nbsp;&amp;quot;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/99089/intellisense-stops-working-when-installing-new-nrf-connect-for-vs-code-extension?ReplyFilter=Answers&amp;amp;ReplySortBy=Answers&amp;amp;ReplySortOrder=Descending"&gt;intelliSenseMode&amp;quot;: &amp;quot;windows-gcc-arm&amp;quot;&lt;/a&gt;? And if that doesn&amp;#39;t help, could you try setting the configurationProvider to &amp;quot;&lt;span&gt;nrf-connect&amp;quot;? &lt;/span&gt;&lt;span&gt;I see there is conflicting advice regarding that last one.&lt;/span&gt;&lt;/p&gt;
[quote user="Marbro1965"]&lt;p&gt;It works only with absolute path (2.0.9 ), but not for all the instruction. It compiles but intellisense does not work well.&lt;/p&gt;
&lt;p&gt;I go back to 2.7.0&lt;/p&gt;[/quote]
&lt;p&gt;So it doesn&amp;#39;t work perfectly with direct path either then. I guess it could be that AI was mistaken about eg. &amp;quot;&lt;span&gt;nrf-connect.toolchain&amp;quot; working in&amp;nbsp;c_cpp_properties.json. Though that a direct path doesn&amp;#39;t work either makes this more interesting. What sort of instructions does it not work on?&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;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/520601?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 16:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0555084a-9064-4604-a1f5-70a19afd0e4d</guid><dc:creator>Marbro1965</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;there are some images of the error and the c_cpp_properties.json.&lt;/p&gt;
&lt;p&gt;In the last image there are highlighted the libraries which drive intellisense crazy))).&lt;/p&gt;
&lt;p&gt;Thanks very much&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/uint32_5F00_t.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/uint32_5F00_t-error.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/uint32_5F00_t-error-1.png" /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/uint32_5F00_t-error-2.png" /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/c_5F00_cpp_5F00_properties.json"&gt;devzone.nordicsemi.com/.../c_5F00_cpp_5F00_properties.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/520592?ContentTypeID=1</link><pubDate>Wed, 29 Jan 2025 15:54:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b485794-69d6-484c-b131-fe5049d3d0ba</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hi Fortunato,&lt;/p&gt;
&lt;p&gt;Sorry about the&amp;nbsp;arbitrary changes&amp;nbsp;regarding who is helping you here on this case.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I remember there being a lot of cases about intellisense placing red squiggles everywhere in the past, but it has been a while since I&amp;#39;ve seen this problem.&lt;/p&gt;
&lt;p&gt;Could you show me the&amp;nbsp;&lt;span&gt;c_cpp_properties.json file?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Marbro1965"]I am programming in C++[/quote]
&lt;p&gt;Are you not seeing this problem when using C?&lt;/p&gt;
[quote user="Marbro1965"]but not for all the instruction. It compiles but intellisense does not work well.[/quote]
&lt;p&gt;Could you show me this difference in what it reacts on?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/520036?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2025 17:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:711833a3-dfa5-4ce0-ad65-d6a5e5558765</guid><dc:creator>Marbro1965</dc:creator><description>&lt;p&gt;It looks like that including this&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;#include&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;lt;tfm/tfm_ioctl_api.h&amp;gt; in a file causes intellisense not to recognize uint32_t anymore.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I am programming in C++&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/519284?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 12:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8d2e127-f017-428d-828f-8528833e0f17</guid><dc:creator>Marbro1965</dc:creator><description>&lt;p&gt;It works only with absolute path (2.0.9 ), but not for all the instruction. It compiles but intellisense does not work well.&lt;/p&gt;
&lt;p&gt;I go back to 2.7.0&lt;/p&gt;
&lt;p&gt;There everything OK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/519263?ContentTypeID=1</link><pubDate>Tue, 21 Jan 2025 11:30:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2deba036-ca42-448e-ba75-034880191424</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Does it work still with the new direct path?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/518635?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 12:52:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95705f16-4a94-4591-b81f-890424c06cd4</guid><dc:creator>Marbro1965</dc:creator><description>&lt;p&gt;Hello Charlie, my project starts from a Nordik sample.&lt;/p&gt;
&lt;p&gt;It is located in C:\ncs, where by default the create new application suggests to put.&lt;/p&gt;
&lt;p&gt;I am working in C++. When edit the program I had a lot of squiggles and AI suggested&lt;/p&gt;
&lt;p&gt;to modify the c_cpp_properties.json. And indeed it works. I add the direct path.&lt;/p&gt;
&lt;p&gt;Now I have moved to 2.9.0, and direct path of compiler and sdk is obviously changed,&lt;/p&gt;
&lt;p&gt;so I decided to put a relative path.&lt;/p&gt;
&lt;p&gt;I modify the settings.json and add&lt;/p&gt;
&lt;p&gt;&amp;quot;nrf-connect.topdir&amp;quot;: &amp;quot;c:/ncs&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;nrf-connect.toolchain&amp;quot;: &amp;quot;c:/ncs/toolchains/b620d30767&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;quot;nrf-connect.sdk&amp;quot;: &amp;quot;c:/ncs/v2.9.0&amp;quot;&lt;/p&gt;
&lt;p&gt;and then I modified the c_cpp_properties.json for example&lt;/p&gt;
&lt;p&gt;&amp;quot;compilerPath&amp;quot;: &amp;quot;${config:nrf-connect.toolchain}/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe&amp;quot;,&lt;/p&gt;
&lt;p&gt;or&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;quot;includePath&amp;quot;: [&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &amp;quot;${workspaceFolder}/**&amp;quot;,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &amp;quot;${config:nrf-connect.sdk}/zephyr/include&amp;quot;,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &amp;quot;${config:nrf-connect.sdk}/zephyr/include/zephyr&amp;quot;,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; &amp;quot;${config:nrf-connect.sdk}/nrfxlib&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Does not work. No reload window, no clear build, no delete build directory&lt;/p&gt;
&lt;p&gt;On one PC seems to work but squiggles the instruction strlen or strcmp.&lt;/p&gt;
&lt;p&gt;On another it does not work at all. Intellisense got crazy. And if i point on uint32_t it jumps me&amp;nbsp;&lt;/p&gt;
&lt;p&gt;to strange declaration!&lt;/p&gt;
&lt;p&gt;I could jump back to absolute path. But this behaviour strongly confuse me.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Moving to 2.9.0 from 2.7.0</title><link>https://devzone.nordicsemi.com/thread/518627?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2025 12:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc6470dc-cfbb-4a6a-be9e-086be33d9f31</guid><dc:creator>Charlie</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you proivde a bit background knowledge about your setup? Like the following:&lt;/p&gt;
&lt;p&gt;Is&amp;nbsp;&lt;span&gt;c_cpp_properties.json made by your own or located in NCS?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How&amp;nbsp;c_cpp_properties.json is used by the compiler?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Charlie&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>