<?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>Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/46621/merging-two-sdk-examples-in-ses</link><description>Hi all, 
 I am trying to get a hang of SES platform(Using the nRF52840 Preview DK, SDK 15.3) and it&amp;#39;s my first few trails with it. I am trying something very basic now to integrate ble_app_uart and pwm_driver to set a particular duty cycle from the nRF</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jul 2020 20:21:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/46621/merging-two-sdk-examples-in-ses" /><item><title>RE: Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/thread/258197?ContentTypeID=1</link><pubDate>Thu, 02 Jul 2020 20:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:976b4892-f8ff-44d4-bda0-086064330e5f</guid><dc:creator>Vu</dc:creator><description>&lt;p&gt;Hi Oyvind,&lt;/p&gt;
&lt;p&gt;In general, if I want to use a module, do I need to enable both the old driver as well as the new driver in the sdk_config.h? I had the same problem as OP when I used RTC so I think I have to enable both drivers for all the module?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/thread/183972?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 08:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dc90cc6-7621-4d2b-94a1-e323df9e0ca4</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Glad to hear that you found the solution.&amp;nbsp;I referred to wrong instances of the sdk_config, it should have been&amp;nbsp;PWM_ENABLED and PWM0_ENABLED, known as legacy drivers which include nrfx drivers. More information &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__drv__pwm.html?resultof=%22%6e%72%66%78%22%20"&gt;here&lt;/a&gt;.&lt;/p&gt;
[quote user="dev_000"]I think there needs to be better documentation or steps mentioning this.[/quote]
&lt;p&gt;I agree that there little information regarding this topic. There is some information in the SDK which first introduced nrfx drivers, found &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.0.0/migration.html?cp=5_4_1_1_9_4_0#migration_drivers_nrfx"&gt;here&lt;/a&gt;.&amp;nbsp; Git documentation can be found &lt;a href="https://github.com/NordicSemiconductor/nrfx"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I hope this clears some confusion.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/thread/183895?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 17:16:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e142b305-3567-4e7c-8d2b-4e5da92e2f3e</guid><dc:creator>dev_000</dc:creator><description>&lt;p&gt;Dear &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;I seemed to have fixed it. I am able to compile without errors now. It was sdk_config.h configuration issue.&lt;/p&gt;
&lt;p&gt;I needed to set all the below&lt;/p&gt;
&lt;p&gt;NRFX_PWM_ENABLED 1&lt;/p&gt;
&lt;p&gt;and &amp;nbsp;NRFX_PWM0_ENABLED 1&lt;/p&gt;
&lt;p&gt;and PWM_ENABLED 1&lt;/p&gt;
&lt;p&gt;and PWM0_ENABLED 1&lt;/p&gt;
&lt;p&gt;Earlier I was only setting NRFX_PWM_ENABLED&amp;nbsp; and NRFX_PWM0_ENABLED&amp;nbsp; to 1&lt;/p&gt;
&lt;p&gt;Any reasoning behind why this is so?&lt;/p&gt;
&lt;p&gt;I think there needs to be better documentation or steps mentioning this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/thread/183893?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 16:29:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:994e42a8-1793-45f7-9273-4979fe00a862</guid><dc:creator>dev_000</dc:creator><description>&lt;p&gt;Dear&amp;nbsp; &amp;Oslash;yvind,&lt;/p&gt;
&lt;p&gt;Hmmm. Its weird that its compiling fine for you.&lt;/p&gt;
&lt;p&gt;PWM instances were already configured in sdk_config.h(I am attaching the same anyway for reference). Still its compiling with the same errors.&lt;/p&gt;
&lt;p&gt;Is it some Path error issue?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0537.sdk_5F00_config.h"&gt;devzone.nordicsemi.com/.../0537.sdk_5F00_config.h&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Merging two SDK examples in SES</title><link>https://devzone.nordicsemi.com/thread/183838?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2019 13:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df4b79e7-937d-48b8-887c-b4c35249098a</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]I am attaching the SES project folder which I was making. (It should run if its placed in SDK 15.2 examples\ble_peripheral\ble_app_uart folder\pca10056\s140 folder)[/quote]
&lt;p&gt;&amp;nbsp;I added the folder to the specified folder and was able to build. Did you try to build after adding the file? (I am however missing you sdk_config.h in the file you sent)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4ab62fb41b0441369e1ac800c3dd3622/pastedimage1556198642032v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Edit: (DevZone not working properly and replying before I was done with the answer)&lt;br /&gt;&lt;br /&gt;Make sure that you have enabled&amp;nbsp;the correct instance of PWM in sdk_config.h&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver
//==========================================================
#ifndef NRFX_PWM_ENABLED
#define NRFX_PWM_ENABLED 1
#endif
// &amp;lt;q&amp;gt; NRFX_PWM0_ENABLED  - Enable PWM0 instance
 

#ifndef NRFX_PWM0_ENABLED
#define NRFX_PWM0_ENABLED 1
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>