<?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>Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59405/again-messing-with-the-nrfx-drivers-glue-and-error-headers</link><description>Hello there, 
 I created a project a while ago with the SES and the SDK 15.x. For a new Project, we would like to move to PlatformIO. Right now I am evaluating where we will use some available frameworks/libraries or create local libraries. 
 I am trying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 May 2020 08:55:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59405/again-messing-with-the-nrfx-drivers-glue-and-error-headers" /><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/249865?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 08:55:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718e233b-bf19-4193-b059-a3d933e971c3</guid><dc:creator>rico</dc:creator><description>&lt;p&gt;I think that is what i was missing! I will mark as solved as soon as i can test it, but it seems to be the way it did it with the last project in SES aswell.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/245068?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 15:52:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:880656ae-8275-4ecb-b2fd-85ce2dddfa0c</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;This issue has wasted untold hours for us, mostly due to migrating across versions from 14.2 to 15.2, 15.3 and 16.0. I monitor nRFx on github for updates, but sometimes a simple override helps. Here is an example (nRF52840 with SPI3, but nRF52832 is same general idea):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Example:
// Add &amp;quot;FEATURE_REQUIRE_NRFX_SPIM3&amp;quot; to the project preprocessor definitions

// Add this at the top of sdk_config.h:
#if defined(FEATURE_REQUIRE_NRFX_SPIM3)
#define SPIM_PRESENT               1
#define NRF_SPI_ENABLED            1//0
#define NRFX_SPI_ENABLED           1//0
#define NRF_SPIM3_ENABLED          1//0
#define NRFX_SPIM_ENABLED          1//0
#define NRFX_SPIM3_ENABLED         1//0
#define NRFX_SPIM_EXTENDED_ENABLED 1//0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There is also a _glue and _legacy header which might require using (in this case) FEATURE_REQUIRE_NRFX_SPIM3 as a conditional, I forget but will edit later if it comes to mind.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/245051?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 14:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e9c87c-5f22-40e8-aa5b-91d8155bcba0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Don&amp;#39;t under estimate C++. See this post &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53106/uart-communication-fifo-error"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/53106/uart-communication-fifo-error&lt;/a&gt;. &amp;nbsp;There is a comparison of uart driver implementation. &amp;nbsp;The C++ IOsonata is about 15-20% faster than nrfx. Even without DMA IOsonata is still faster then nrfx with DMA. &amp;nbsp;All that without the #defines jungle of the sdk_config.h&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/244859?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 06:56:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3a55dfa-598c-4bb2-93d6-f96d8ccd2d66</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Rico&lt;/p&gt;
&lt;p&gt;Have you checked out the &lt;a href="https://github.com/NordicSemiconductor/nrfx"&gt;nrfx set of drivers&lt;/a&gt; on our GitHub with its own documentation files? The intention of this page is to provide drivers that can be used in other projects than the SDK examples.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The recommended development process from Nordic is to start out with an SDK project where these drivers are already implemented and add whatever you&amp;#39;d like from there.&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><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/244693?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2020 11:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d009d4ee-d370-4756-9224-75cdef317f40</guid><dc:creator>rico</dc:creator><description>&lt;p&gt;Thanks for the tip I will have a look at it, but I would like to stick with C&amp;nbsp;at the moment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Again messing with the nrfx drivers, glue and error headers.</title><link>https://devzone.nordicsemi.com/thread/241210?ContentTypeID=1</link><pubDate>Mon, 23 Mar 2020 16:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24e8d748-ee07-463a-8ded-0b1fe255a67f</guid><dc:creator>Mojo</dc:creator><description>&lt;p&gt;I use this library&amp;nbsp;&lt;a href="https://github.com/IOsonata/IOsonata"&gt;https://github.com/IOsonata/IOsonata&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It compile most used part of the SDK into it and it&amp;#39;s drivers are better designed and better performance than the SDK. Best of all, no sdk_config jungle. &amp;nbsp;Only one drawback, It&amp;#39;s C++ so it won&amp;#39;t work with SES. &amp;nbsp;But no worries, even though it is C++ object designed, It is still more performance the plain C driver of the SDK. &amp;nbsp;Eclipse is the preferred IDE but you can also use it with IAR, Keil and CrossWorks but not with SES.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>