<?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>VL53L1X being included when it shouldnt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119753/vl53l1x-being-included-when-it-shouldnt</link><description>I have a private version of the VL53L1X driver ecause the driver in ncs2.9.0 hasnt been properly updated per my previous case. They suggested changing the CONFIG_VL53L1X=y to something like CONFIG_VL53L1X_PRIV which I have done. All of my code is compiled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Mar 2025 15:32:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119753/vl53l1x-being-included-when-it-shouldnt" /><item><title>RE: VL53L1X being included when it shouldnt</title><link>https://devzone.nordicsemi.com/thread/527886?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 15:32:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db54af4b-03e4-4051-94e3-5883f14d923e</guid><dc:creator>finkbr</dc:creator><description>&lt;p&gt;ok, i tweaked the cmakelists file to include the directory that has all the driver hearders.&amp;nbsp; that seems to have worked.&amp;nbsp; however it would be nice if the 2.9.0 had the correct include in it #include &amp;lt;zephyr/drivers/sensor/vl531lx.h&amp;gt;&amp;nbsp; that doesnt exist.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X being included when it shouldnt</title><link>https://devzone.nordicsemi.com/thread/527703?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 15:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e861ac39-2e26-4657-9e0b-21510839bdd1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Then I really can&amp;#39;t see how the Zephyr driver files can get&amp;nbsp;built at all...&lt;br /&gt;Could you please try intentionally write something&amp;nbsp;syntactically wrong in &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs2/drivers/sensor/st/vl53l1x/vl53l1.c"&gt;the Zephyr driver source file&lt;/a&gt; to see if the build fails?&lt;/p&gt;
&lt;p&gt;As for including the header file, you may need to tweak&amp;nbsp;the CMakeLists.txt of your custom driver a little with&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;zephyr_library_include_directories_ifdef&lt;/span&gt; or&amp;nbsp;&lt;span style="font-family:&amp;#39;courier new&amp;#39;, courier;"&gt;zephyr_library_include_directories&lt;/span&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X being included when it shouldnt</title><link>https://devzone.nordicsemi.com/thread/527419?ContentTypeID=1</link><pubDate>Fri, 14 Mar 2025 15:39:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eceaedb4-c442-4d23-9a6d-4a0802b1bfbe</guid><dc:creator>finkbr</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_VL53L1X_ABC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_VL53L1X_PROXIMITY_THRESHOLD&lt;/span&gt;&lt;span&gt;=100&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_INTERRUPT_MODE is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_XSHUT is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_ABC_LOG_LEVEL_OFF is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_VL53L1X_ABC_LOG_LEVEL_ERR&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_ABC_LOG_LEVEL_WRN is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_ABC_LOG_LEVEL_INF is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_ABC_LOG_LEVEL_DBG is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# CONFIG_VL53L1X_ABC_LOG_LEVEL_DEFAULT is not set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_VL53L1X_ABC_LOG_LEVEL&lt;/span&gt;&lt;span&gt;=1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;These are all the VL53L1X lines in .config&amp;nbsp; but as you can see from the above it still is pulling the zepyr version:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;zephyr/drivers/sensor/st/vl53l1x/libdrivers__sensor__st__vl53l1x.a(vl53l1_platform.c.obj): in function `VL53L1_WriteMulti&amp;#39;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;If i could get the zephyr version to work i can exclude mine.&amp;nbsp; but you cant include the header file for some reason, another ticket I had on a similar subject said that it wasnt fully implemented yet in 2.9.0&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: VL53L1X being included when it shouldnt</title><link>https://devzone.nordicsemi.com/thread/527273?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 20:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fe414bf-1dc4-409d-b7f0-d57a2bc8a521</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Brian,&lt;/p&gt;
&lt;p&gt;I looked into the VL53L1X driver built in the SDK, and it should only be included when CONFIG_VL53L1X ís enabled.&lt;br /&gt;Ref:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs2/drivers/sensor/st/CMakeLists.txt"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.7.99-ncs2/drivers/sensor/st/CMakeLists.txt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you please check the compiled .config file of your application to see if that config is accidentally enabled?&lt;/p&gt;
&lt;p&gt;It is in &amp;lt;project&amp;gt;/&amp;lt;build_dir&amp;gt;/&amp;lt;project_dir_name&amp;gt;/zephyr/.config.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>