<?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>nRFx SDK 15 Upgrade Suggestions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32919/nrfx-sdk-15-upgrade-suggestions</link><description>I&amp;#39;m following the migration guide from SDK 14.2 to SDK 15 , and am a little hung up on the new nRFx module. 
 All the examples in the new SDK use the legacy drivers but the migration guide suggests moving to the new nRFx API. 
 I&amp;#39;m having a few problems</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 18 May 2018 13:00:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32919/nrfx-sdk-15-upgrade-suggestions" /><item><title>RE: nRFx SDK 15 Upgrade Suggestions</title><link>https://devzone.nordicsemi.com/thread/132507?ContentTypeID=1</link><pubDate>Fri, 18 May 2018 13:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21615807-2d69-4850-8e6c-3208c720a812</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi All,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Same problem was reported in this thread:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/34317/undefined-reference-to-nrfx_twi_tx"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/34317/undefined-reference-to-nrfx_twi_tx&lt;/a&gt;. The solution is to remove relevant legacy definitions from the sdk_config header in order to prevent NRFX_* defines from being overridden by the nrfx legacy adaption layer. SDK documentation will be updated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFx SDK 15 Upgrade Suggestions</title><link>https://devzone.nordicsemi.com/thread/128003?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 09:35:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e241890-b40f-45c0-ba83-e5add57797b3</guid><dc:creator>thischier</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if you are correct that the example from Nordic doesn&amp;#39;t include the legacy layer for all the peripheral drivers...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m also currently migrating my project from SDK14.2 to SDK15. I started with using the legacy layer for GPIOTE and my project worked more or less stable. Unfortunately Nordic&amp;#39;s migration guide recommends using the new nrfx drivers because the legacy layer could be removed in one of the next SDK releases. When I remove the nrf_drv_gpiote setting in sdk_config.h nothing works any more and the compiler can&amp;#39;t find the definition of nrfx_gpiote_init (include path is correct and nrfx_gpiote.c is added to the project)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To be sure that there is nothing wrong with my setup, I took one of the different examples of Nordic and removed the nrf_drv_gpiote setting. I changed app_button.c in order to include directly nrfx_gpiote.h and replaced the different nrf_drv_gpiote functions by the same from nrfx_gpiote. And the result is exactly the same. I get a linker error:&lt;/p&gt;
&lt;p&gt;nrf52840_xxaa_axf: Error: L6218E: Undefined symbol nrfx_gpiote_in_event_disable (referred from app_button.c)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Is there any doc from Nordic&amp;#39;s side how we can change properly from SDK14 to SDK15 and using directly the nrfx drivers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRFx SDK 15 Upgrade Suggestions</title><link>https://devzone.nordicsemi.com/thread/126416?ContentTypeID=1</link><pubDate>Thu, 29 Mar 2018 22:28:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cdc88ee-f5a8-44d3-bd6d-f22466972dd2</guid><dc:creator>Daniel Wang</dc:creator><description>[quote userid="13996" url="~/f/nordic-q-a/32919/nrfx-sdk-15-upgrade-suggestions"]All the examples in the new SDK use the legacy drivers[/quote]
&lt;p&gt;I think almost all the examples are using the nrfx drivers. There is just a legacy-layer that translates from the old API to the new API. The legacy drivers are not actually included in the SDK at all.&lt;/p&gt;
&lt;p&gt;From the release notes:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Added the nrfx project as a set of default drivers and provided a legacy layer for supporting deprecated API.&lt;/em&gt;&lt;/p&gt;
&lt;pre class="fragment"&gt;** Drivers and libraries **
&amp;nbsp;- The way peripheral drivers are handled in the SDK has been reorganized:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Replaced existing drivers with the &amp;quot;external&amp;quot; drivers from nrfx project. See &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/README.md"&gt;github.com/.../README.md&lt;/a&gt; for more information on nrfx.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- New drivers from nrfx are located in &amp;quot;..\modules\nrfx&amp;quot;.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- Drivers replaced by nrfx are removed from &amp;quot;..\components\driver_nrf&amp;quot;.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- A glue layer is added to make the nrfx driver compatible with SDK and the SoftDevice.&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>