<?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>Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109638/sensor-driver-warnings-in-vscode-extension</link><description>Hi, 
 im trying to use the Bosch BMP581 I2C Sensor driver in Zephyr &amp;amp; NCS main. It&amp;#39;s compiling and working fine but I get some warnings in VSCode that I was hoping you could help me track down. I should also say that I have gone though the sensor driver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2024 17:20:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109638/sensor-driver-warnings-in-vscode-extension" /><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/476967?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 17:20:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e600cb-5607-4096-b5ce-3894a8faae49</guid><dc:creator>pixbroker</dc:creator><description>&lt;p&gt;Thank you so much. That fixed it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/476703?ContentTypeID=1</link><pubDate>Tue, 02 Apr 2024 21:23:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d6e635-08e4-47e0-a844-199eb1fe7112</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Apologies for the wait, we have had a holiday.&lt;/p&gt;
&lt;p&gt;Apparently, this is because&amp;nbsp;the nRF Connect VS Code Extension&amp;nbsp;couldn&amp;#39;t handle the .yml file extension, which the bmp581 binding is using.&lt;/p&gt;
&lt;p&gt;I have noted this point with the extension team. For now,&amp;nbsp;could you please change the bosch,bmp581.yml file to the .yaml extension instead?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/475975?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 14:45:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fec5275-bcec-4a8c-8714-0115cb0d997b</guid><dc:creator>pixbroker</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/support.json"&gt;devzone.nordicsemi.com/.../support.json&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/475955?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 14:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd6deb2e-8a0e-422a-8642-19a8fba6998f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Could you please generate support information and share it?&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/pastedimage1711461961924v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/475952?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 14:02:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70c0bb3a-e58d-4059-960c-4ccdb434e9b1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I will have to check with our VS Code Extension team for why that is the case. Please know that it might be a while before I can follow-up though, because we are in the Easter holiday period here. My apology for the inconvenience.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/475931?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 13:27:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59a5393-09bb-4400-8430-b0668ae866aa</guid><dc:creator>pixbroker</dc:creator><description>&lt;p&gt;I&amp;rsquo;m using NCS main which has the bmp581 driver and it&amp;rsquo;s working fine. It compiles and I&amp;rsquo;m able to read the pressure data. The problem is just with the swigging red and yellow lines in VSCode. I just can&amp;rsquo;t figure out why the extension isn&amp;rsquo;t aware of the sensor.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;the bma4xx sensor driver is an example of a recently added (to main) driver that also works fine and VSCode extension doesn&amp;rsquo;t show squiggly lines.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sensor driver warnings in VSCode Extension</title><link>https://devzone.nordicsemi.com/thread/475923?ContentTypeID=1</link><pubDate>Tue, 26 Mar 2024 13:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bbcefc9-23b8-4136-9892-790c182118d1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi pixbroker,&lt;/p&gt;
&lt;p&gt;It seems like the bmp581 is not supported yet in the latest releases of both &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/zephyr-v3.5.0/dts/bindings/sensor"&gt;the Zephyr RTOS upstream&lt;/a&gt; and &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.5.99-ncs1/dts/bindings/sensor"&gt;the nRF Connect SDK Zephyr RTOS downstream&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;That is why the build system could not provide support for the sensor.&lt;/p&gt;
&lt;p&gt;However, I see that two months ago, the support was added to &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/dts/bindings/sensor"&gt;the Zephyr RTOS main branch&lt;/a&gt;, and this has been pulled into &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/dts/bindings/sensor"&gt;the main branch of the nRF Connect SDK Zephyr downstream&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can either use the main branch of the SDK, or cherry-pick &lt;a href="https://github.com/nrfconnect/sdk-zephyr/commit/4ce0555d90a20d2878ae086fd3dbb89cd7f2c447#diff-727f86f618c1cdabefc8aad0890e09832aceb6c6a25f6e5c61873f333c9f7725"&gt;the&amp;nbsp;commit that added BMP581 support&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I recommend cherry-picking rather than using the nightly state of the SDK. Remember that if you do this, you need to&amp;nbsp;check that all the files are at the latest version compatible with the current SDK.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>