<?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>out-of-tree driver</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74158/out-of-tree-driver</link><description>Hi, This time I&amp;#39;m on NCS 1.3.0. Board definition is derived from nrf5340pdk_nrf5340, with some minor variations, and it is out-of-tree. I think it is OK. Since I moved also my DAC driver out-of-tree I&amp;#39;m having problems with cmake build. This is all they</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Sep 2021 08:37:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74158/out-of-tree-driver" /><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/331448?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 08:37:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcfc3f32-9737-475e-91f6-47992382ae87</guid><dc:creator>zhangsenlin@micrstone.com</dc:creator><description>&lt;p&gt;OK,Thanks.I will try later. &amp;nbsp;&lt;/p&gt;
&lt;div id="phraseJoinewrskdfdswerhnyikyofd"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/331442?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 08:21:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b142e95-03af-451c-9530-c224f55e01cd</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Try this version&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/dacx0501.zip"&gt;devzone.nordicsemi.com/.../dacx0501.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/331434?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 08:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78155cd0-68ef-4561-9259-db23be42e798</guid><dc:creator>zhangsenlin@micrstone.com</dc:creator><description>&lt;p&gt;but the kconfig within it,when we remove it ,it will occur trouble&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/331428?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 07:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7df9ade6-76ba-4d05-a625-deca79c1587d</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Hi. You are right. You can safely remove the drivers/zephyr subfolder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/331422?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 07:01:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af18f4dc-c907-4c17-9403-4878b7d2acf1</guid><dc:creator>zhangsenlin@micrstone.com</dc:creator><description>&lt;p&gt;Hi Gabriele，&lt;/p&gt;
&lt;p&gt;When i think about hwo to&amp;nbsp;organization my own driver for a long time ,I have notice your ticket.I look your code. FIRST OF ALL,I will thank you.&lt;/p&gt;
&lt;p&gt;Besides, I have a question about that why there is two &amp;lt;dac_dacx0501.c&amp;gt;file.And The zephyr sample code also contain zephyr subdirectory in the out of&lt;span&gt;&amp;nbsp;&lt;/span&gt;module,But I do not know why we must to creat zephyr subdirectory when we creat the module we needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/306220?ContentTypeID=1</link><pubDate>Thu, 22 Apr 2021 07:10:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de948257-652c-4834-b623-9996daa30d72</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Dear Hakon,&lt;br /&gt;it might be our NCS installations differ in some environment variable.&lt;br /&gt;I guess this is beacuse I plumped for working with git submodules instead of letting west to manage multiple repositories in the standard way.&lt;br /&gt;Anyway, I&amp;#39;ve solved the problem by myself.&lt;br /&gt;I realized that, to get the driver compiled, cmake needed to know were to find the binding file (dts/bindings/dac/ti,dacx0501.yaml).&lt;br /&gt;Placing hereunder statement in the app&amp;#39;s CMakeList.txt proved to be the right thing.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;list(APPEND DTS_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/../board-definition)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This solves the problem.&lt;br /&gt;Thank you for your willing to help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/306128?ContentTypeID=1</link><pubDate>Wed, 21 Apr 2021 13:20:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:909c00ab-b804-4a51-b8aa-fefaae90c3d8</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;When I run the build script it tries to build for the nrf9160_pca10090 board, which is deprecated. Shouldn&amp;#39;t it build for the custom board you mentioned?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/305931?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 16:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51eff596-9db4-4ada-98b5-165f7af44026</guid><dc:creator>Gabriele</dc:creator><description>&lt;p&gt;Sorry Hakon, here you are&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6102.files.zip"&gt;devzone.nordicsemi.com/.../6102.files.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: out-of-tree driver</title><link>https://devzone.nordicsemi.com/thread/305929?ContentTypeID=1</link><pubDate>Tue, 20 Apr 2021 15:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1de57255-20eb-47a4-ac50-a9e0d472c5c6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I&amp;#39;m sharing the files holding out hope that someone could kindly try it out.[/quote]
&lt;p&gt;&amp;nbsp;Where are you sharing the files? I can&amp;#39;t find anything in attachments.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>