<?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>Calling of driver .h file in user defined file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80763/calling-of-driver-h-file-in-user-defined-file</link><description>Hello, I am using the project as in It is building successfully on VSCode. I need to evaluate interfacing any SDK file moving further, hence I would want to include: nCS\v1.7.0\zephyr\include\drivers\clock_control.h (#include clock_control.h) In user</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Oct 2021 10:43:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80763/calling-of-driver-h-file-in-user-defined-file" /><item><title>RE: Calling of driver .h file in user defined file</title><link>https://devzone.nordicsemi.com/thread/334550?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 10:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3c0985e-8673-4335-aaa8-46284561cec5</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Ubaid!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad you have gotten a solution to your problem!&amp;nbsp;&lt;/p&gt;
[quote user="Ubaid_M"]Can you kindly point me to any CMakeLists.txt tutorial or article for working with nCS.?[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;Here is a great tutorial about working with NCS, as well as using CMakeLists and the rest.&lt;/a&gt;&lt;/p&gt;
[quote user="Ubaid_M"]Where can I find the list of such tags[/quote]
&lt;p&gt;Here is a &lt;a href="https://docs.zephyrproject.org/latest/reference/peripherals/index.html"&gt;list of Zephyr drivers&lt;/a&gt;, though what is relevant for you depends on&amp;nbsp;your project. I think the tutorial above will be a good starting point&lt;/p&gt;
&lt;p&gt;Best 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: Calling of driver .h file in user defined file</title><link>https://devzone.nordicsemi.com/thread/334511?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 08:37:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e05b6580-4566-4d31-8e47-2e4da9c62e83</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/enukic"&gt;enukic&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks, that seems to work for me.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="91630" url="~/f/nordic-q-a/80763/calling-of-driver-h-file-in-user-defined-file/334496#334496"]As for the CMakeList.txt, I think the following command includes driver directory(among other things):[/quote]
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zephyr_library_include_directories(.)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Where can I find the list of such tags(zephyr_library_include_directories(.)) to be added in CMakeLists.txt, to include relevant drivers..?&lt;br /&gt;&lt;br /&gt;Can you kindly point me to any CMakeLists.txt tutorial or article for working with nCS.?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling of driver .h file in user defined file</title><link>https://devzone.nordicsemi.com/thread/334496?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 07:47:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52d2a845-29e8-4766-a488-ef2a34337401</guid><dc:creator>enukic</dc:creator><description>&lt;p&gt;I&amp;#39;ve used the following include method and it worked so far:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#include &amp;lt;drivers/clock_control.h&amp;gt;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As for the CMakeList.txt, I think the following command includes driver directory(among other things):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zephyr_library_include_directories(.)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>