<?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>how to import a header file from module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105666/how-to-import-a-header-file-from-module</link><description>Hi 
 I&amp;#39;m working on the lps22df sensor driver which does not exist in the Zephyr driver. So, copied a similar existing lps22hh driver into the project folder to build with it in a workspace out of ncs/zephyr. 
 But I have an issue during compiling: 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 19 Nov 2023 11:59:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105666/how-to-import-a-header-file-from-module" /><item><title>RE: how to import a header file from module</title><link>https://devzone.nordicsemi.com/thread/456286?ContentTypeID=1</link><pubDate>Sun, 19 Nov 2023 11:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5128167b-533a-4067-b2d9-e2fe9520348b</guid><dc:creator>zsn</dc:creator><description>&lt;p dir="auto"&gt;the issue is because of missing configuration in the C:\netfeasaproject\zephyr\modules\Kconfig.st&lt;/p&gt;
&lt;p dir="auto"&gt;I needed to add this config and enable it.&lt;/p&gt;
&lt;div class="snippet-clipboard-content notranslate position-relative overflow-auto"&gt;
&lt;pre class="notranslate"&gt;&lt;code class="notranslate"&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="ui-code" data-mode="text"&gt;config USE_STDC_LPS22DF
	bool&lt;/pre&gt;
&lt;div class="zeroclipboard-container position-absolute right-0 top-0"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p dir="auto"&gt;if anyone wants to use st libs from modules, make sure it is in the config file....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to import a header file from module</title><link>https://devzone.nordicsemi.com/thread/455798?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 14:55:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01350f03-0ede-4b05-bfdb-e3936c8eef21</guid><dc:creator>helsing</dc:creator><description>[quote user=""]So, copied a similar existing lps22hh driver into the project folder to build with it in a workspace out of ncs/zephyr.&amp;nbsp;[/quote]
&lt;p&gt;Check out this sample &lt;a href="https://github.com/nrfconnect/ncs-example-application"&gt;https://github.com/nrfconnect/ncs-example-application&lt;/a&gt; showing, among other things, how to use Out-of-tree drivers and Out-of-tree libraries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to import a header file from module</title><link>https://devzone.nordicsemi.com/thread/455780?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 13:47:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88d8c270-9bf3-4bae-b05f-861c8a2a93a5</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi zafer,&lt;/p&gt;
&lt;p&gt;I will take a look at this and get back to you.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>