<?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>Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94590/zephyr-out-of-tree-driver-undefined-reference-in-function</link><description>Hi all 
 I am currently trying to implement an out-of-tree driver for the Sensirion SEN55 driver but I am getting the following link error; 
 Any assistance would be greatly appreciated.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Mar 2024 03:03:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94590/zephyr-out-of-tree-driver-undefined-reference-in-function" /><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/475262?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 03:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:533b1d90-5f31-4e15-b8a5-ea1cf268dd13</guid><dc:creator>jayb</dc:creator><description>&lt;p&gt;Hi! Were you able to make it work?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399912?ContentTypeID=1</link><pubDate>Fri, 09 Dec 2022 12:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35050ab8-e76a-415e-8dce-ee8610f5aa8f</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;Which version of the nRF Connect SDK are you using?&lt;/p&gt;
&lt;p&gt;I also know of the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/v3.2.99-ncs1/samples/application_development/out_of_tree_driver"&gt;Zephyr Out-of-tree river sample&lt;/a&gt;. &lt;br /&gt;If it is not too much work: Can you try this and see if you get the same result?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399407?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 12:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b142a93-0bf7-401f-a417-975551404a97</guid><dc:creator>Ryan-Mc</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thank you for the assistance, I will make sure to use the code functionality in the future.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My example-application directory is located within a zephyr workspace and is based on the following:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/example-application"&gt;https://github.com/zephyrproject-rtos/example-application&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Once this workspace is setup, I inserted my version of example-application.&lt;/p&gt;
&lt;p&gt;I am unsure if this is the cause of the above error.&lt;/p&gt;
&lt;p&gt;When within the example-application directory I make use of the following:&lt;pre class="ui-code" data-mode="text"&gt;west build -p -b nrf9160dk_nrf9160 app/.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I am unsure if this helps?&lt;/p&gt;
&lt;p&gt;The entire workspace is too large to attach unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best,&lt;/p&gt;
&lt;p&gt;Ryan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399387?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 11:30:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3173b306-b7a4-4e03-8988-e19c32a8ab95</guid><dc:creator>r0n9</dc:creator><description>&lt;p&gt;Ignore my comment, please. I was talking about a warning that should not cause the compile error. Sry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399382?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 11:12:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:997c5933-117a-4304-ad04-5c985824aca5</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Ryan,&lt;/p&gt;
&lt;p&gt;Welcome to DevZone!&lt;/p&gt;
&lt;p&gt;When posting log logs, DevZone becomes more tidy if you use the Insert-&amp;gt;Code functionality.&lt;br /&gt;It would be nice if you do so on future tickets/comments, but I fixed it for this one.&lt;/p&gt;
&lt;p&gt;In addition to this, I downloaded your example-application and am trying to build it.&lt;br /&gt;But I get an error (different from the one you see).&lt;/p&gt;
&lt;p&gt;My setup:&lt;br /&gt;nRF Connect SDK: v2.1.2&lt;br /&gt;Build command:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf9160dk_nrf9160_ns app
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Error:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;example-application/app/prj.conf:8: warning: attempt to assign the value &amp;#39;y&amp;#39; to the undefined symbol SEN55
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Did I miss any steps when running your sample?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399348?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 09:08:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adc80869-19ae-4b82-9a1b-db0ff68f4027</guid><dc:creator>Ryan-Mc</dc:creator><description>&lt;p&gt;Greetings, thank you for your reply. &amp;nbsp;Is it possible for you to be more specific as I am not entirely sure what you mean? Do you by any chance have an idea about what could be causing the linking issue? My thanks again.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Out-of-tree driver undefined reference in function</title><link>https://devzone.nordicsemi.com/thread/399311?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2022 03:57:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e1e44e7-6b7d-4cb8-ade2-3302132a7863</guid><dc:creator>r0n9</dc:creator><description>&lt;p&gt;Could you please&amp;nbsp;update your and include the code&amp;nbsp;block that includes how the `&lt;span&gt;i2c_dev` is declared? It seems you are trying to assign a new value to a const variable.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>