<?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>Using nrfx drivers in C++ project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33721/using-nrfx-drivers-in-c-project</link><description>I&amp;#39;d like to use new nrfx drivers included in SDK 15. The problem is that I want to use C++ but nrfx header files are for C. The struct initializers can&amp;#39;t be compiled as C++. For example 
 
 If this is included from .cpp file then I get: 
 SDK/modules</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Apr 2018 13:55:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33721/using-nrfx-drivers-in-c-project" /><item><title>RE: Using nrfx drivers in C++ project</title><link>https://devzone.nordicsemi.com/thread/129793?ContentTypeID=1</link><pubDate>Wed, 25 Apr 2018 13:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40dc66ed-02e5-4193-8b99-4b5c93687cd4</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;This is a limitation in the SDK unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have asked the SDK team if we can change this in the future so that the drivers will be C++ compliant. The change required is not very large, so I will push to have this updated in the next SDK release, but at this time I can&amp;#39;t make any promises&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f609.svg" title="Wink"&gt;&amp;#x1f609;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>