<?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>Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55174/why-are-legacy-files-driving-sdk-16-examples</link><description>I could use some clarity on the legacy drivers/files, nrf,driving example applications inside SDK 16. Is it just too much work to clean up the examples with current drivers? Are all the legacy files just hooked into the current drivers/files, nrfx, thorugh</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2020 07:39:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55174/why-are-legacy-files-driving-sdk-16-examples" /><item><title>RE: Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/thread/233438?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 07:39:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bde90133-c6cf-4340-9243-31687462df50</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Keith&lt;/p&gt;
&lt;p&gt;Thank you for noticing! I stand corrected, it is the nrfx drivers that are used by default in our SDK examples, and they use the nrf_drv drivers as wrappers in the old_config and are there for backward compatibility. I have updated my prior answer to reflect this as well.&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><item><title>RE: Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/thread/233389?ContentTypeID=1</link><pubDate>Sat, 08 Feb 2020 02:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9ce08f1-bf7b-4331-a616-b7f83eaf1221</guid><dc:creator>Keith Wakeham</dc:creator><description>&lt;p&gt;This goes against what is said in post&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/55484/shoud-we-use-nrfx-driver-or-nrf-legacy-driver"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/55484/shoud-we-use-nrfx-driver-or-nrf-legacy-driver&lt;/a&gt;&lt;strong&gt;&amp;nbsp;.&lt;/strong&gt; That post indicates that NRFx are prefer, and your reply indicates that use of nrfx directly is ill advised and should use the nrf_drv, but in a lot of cases they just translate to nrfx through a glue layer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/thread/223770?ContentTypeID=1</link><pubDate>Thu, 05 Dec 2019 07:36:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d80fea12-6701-4ae3-bf6a-ec930bb07675</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;You can check out our&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/nrfx_migration_user_guide.html"&gt; nrfx driver migration guide&lt;/a&gt; to see how you can migrate any project to start using only the nrfx drivers and their benefits. You should also check out the nrfx_config.h file located in&amp;nbsp;&lt;span&gt;&amp;lt;sdkdir&amp;gt;/modules/nrfx/templates/&amp;lt;board&amp;gt; which is a clean nrfx configuration header to use in nrfx projects.&amp;nbsp;It is the nrfx drivers that are being used as a baseline in the SDK, and the legacy layer is used to translate the old API to the new one. The legacy layer is used for backward compatibility.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/thread/223672?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 15:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f232bb3-9bbf-47d1-bbce-3435da436691</guid><dc:creator>Cy</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Thank you, but could you give me an example of the ease of integration of which you speak in regards to the low-level part?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why are legacy files driving SDK 16 examples?</title><link>https://devzone.nordicsemi.com/thread/223624?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2019 13:50:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a6203a-e67d-4953-9ee9-eb763aa54deb</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Most of the old legacy files were split into an nrfx and a legacy layer in order to make it easier to integrate the low-level part (nrfx) in other software platforms. In some cases, using nrfx directly is not a good idea due to this, and therefore we generally advise developers to use the nrf_drv_* files/functions instead of the nrfx_* versions. The term &amp;quot;legacy&amp;quot; gives the wrong idea really. It&amp;#39;s better to think of it like this: nrfx is a platform-independent low-level driver package, while the legacy files are an integration layer for integrating it into the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;So, there are no plans as of now to remove either layer, as they fulfill different tasks really, and the &amp;quot;legacy&amp;quot; layer is not outdated, but rather simpler.&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>