<?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>Adding a device driver to a nRF Connect SDK Zephyr freestanding application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92205/adding-a-device-driver-to-a-nrf-connect-sdk-zephyr-freestanding-application</link><description>Hello, 
 I am having a lot of trouble adding a driver to my application. I have followed the tutorial here: https://www.zephyrproject.org/how-to-build-drivers-for-zephyr-rtos/ and am attempting to use the example application here: https://github.com/zephyrproject</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Sep 2022 20:49:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92205/adding-a-device-driver-to-a-nrf-connect-sdk-zephyr-freestanding-application" /><item><title>RE: Adding a device driver to a nRF Connect SDK Zephyr freestanding application</title><link>https://devzone.nordicsemi.com/thread/387576?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 20:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:effeee7d-3957-43ab-8376-d00b3771b3ae</guid><dc:creator>bryan_aerel</dc:creator><description>&lt;p&gt;Thank you very much, that link was what I needed to get my modified driver working!&lt;/p&gt;
&lt;p&gt;The only portion of the tutorial that didn&amp;#39;t seem to work was&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_FLASH_NRF_FORCE_ALT=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;can&amp;#39;t be set in my case - but it doesn&amp;#39;t seem to need to be set.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;I really appreciate the help here! I would love if there was an official tutorial post or DevAcademy tutorial that would go through adding a driver to an application and modifying an existing Zephyr driver and the various options that there are (in tree and maintaining a fork, out of tree, for freestanding applications, for workspace applications, etc). Hopefully you can see how I had a hard time finding the post and answer that you linked to. In addition, that post linked to multiple other posts and it gets a bit complicated when it&amp;#39;s all through the forum.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Again, thanks for the help Simon!&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding a device driver to a nRF Connect SDK Zephyr freestanding application</title><link>https://devzone.nordicsemi.com/thread/387433?ContentTypeID=1</link><pubDate>Thu, 22 Sep 2022 09:08:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:404ba40b-f1a6-4094-9986-88202e54174d</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Check out this reply, which explains how to add an out of tree custom driver to zephyr/drivers/flash (no patching of Zephyr):&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/91021/mcuboot-adding-custom-serial-flash-driver-as-secondary-partition/383961"&gt;RE: MCUBoot: adding custom serial flash driver as secondary partition&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>