<?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>PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33948/pwm-in-mesh-sdk-2-0-0</link><description>Hi, I would like to use a PWM application with mesh SDK. However when I try to compile, I got an error because &amp;quot;app_pwm.h&amp;quot; is missing (No such file or directory). The only related topics I found was here and here but I guess this is outdated as &amp;quot; The</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 May 2018 15:43:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33948/pwm-in-mesh-sdk-2-0-0" /><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/133489?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 15:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24be4ed-8e9b-4d9d-93d7-e0a12310c954</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am happy to hear that you seem to have solved those issues. Hopefully you have things working properly now. A new thread for a new issue sounds good.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/133305?ContentTypeID=1</link><pubDate>Thu, 24 May 2018 17:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:149f88b6-26d5-4617-b226-9d4669f779e0</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Yes, I managed to solve them. If it was the proper way or not, I&amp;#39;m yet to discover,.&lt;br /&gt;&lt;br /&gt;For example I&amp;#39;m having error when trying to add a second instance of PWM (with one it works just fine). Don&amp;#39;t know if it might be related or not.&lt;br /&gt;&lt;br /&gt;Anyway, I will create another ticket related with this new issue, if I fail to solve it.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Paulo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/132660?ContentTypeID=1</link><pubDate>Tue, 22 May 2018 08:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79bf9af7-fd4f-4e95-9c3e-4f9ad6863090</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Have you solved the issues with missing and double includes now, or do you want us to have a look at it?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/131096?ContentTypeID=1</link><pubDate>Sun, 06 May 2018 12:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c164634-5360-4ea1-a004-643bfc73d67f</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Thanks for the reply Daniel,&lt;br /&gt;&lt;br /&gt;I enabled them all but still get the same 12 errors.&lt;br /&gt;&lt;br /&gt;EDIT: I added app_util_platform.c and nrf_drv_ppi.c, and respective path to header directories.&lt;br /&gt;&lt;br /&gt;&lt;em&gt;Undefined references&lt;/em&gt; seem to be solved! But now I still face &lt;em&gt;multiple declaration&lt;/em&gt; issues:&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1525612158042v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/131095?ContentTypeID=1</link><pubDate>Sun, 06 May 2018 12:43:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd8cda95-f5a3-44fb-90eb-c10e0d0e9eeb</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Try to set these defines in sdk_config.h to 1 :&lt;/p&gt;
&lt;p&gt;GPIOTE_ENABLED&lt;br /&gt;NRFX_GPIOTE_ENABLED&lt;br /&gt;NRFX_PPI_ENABLED&lt;br /&gt;NRFX_TIMER_ENABLED&lt;br /&gt;PPI_ENABLED&lt;br /&gt;TIMER_ENABLED&lt;br /&gt;NRF_STRERROR_ENABLED&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/131093?ContentTypeID=1</link><pubDate>Sun, 06 May 2018 11:48:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7e71ee1-8677-4344-a2d1-86efb67610f0</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Hi erik,&lt;br /&gt;&lt;br /&gt;I added the missing files from $SDK_ROOT/modules/nrfx/drivers/src/, plus some header and c files more to solve dependencies issues.&lt;br /&gt;&lt;br /&gt;Now, besides some &lt;em&gt;undefined references &lt;/em&gt;(still), I also get errors with &lt;em&gt;multiple definition:&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1525606960352v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;Isn&amp;#39;t there a better way to actually integrate the nrf SDK 15 with Mesh SDK? &lt;br /&gt;Because so far I have just been fixing dependencies issues over and over again :/&lt;br /&gt;&lt;br /&gt;Any help is more than welcome!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130895?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 22:08:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4973d9bd-c9c3-47c9-926a-34fd0277dcf9</guid><dc:creator>erik</dc:creator><description>&lt;p&gt;@PauloZacarias&lt;/p&gt;
&lt;p&gt;You appear to have missed to add a few *.c files from $SDK_ROOT/modules/nrfx/drivers/src/ in your projects and potentially also the preprocessor include directories for their related .h files.&lt;/p&gt;
&lt;p&gt;In your SES Preprocessor include files, I would suggest removing $SDK_ROOT/modules/nrfx/templates (and any subdirectories), since the directory $SDK_ROOT/integration/nrfx has files with identical names that have been tailored to the SDK. (depending on order&amp;nbsp; you list the preprocessor include directory, you can get one set or the other -I hope Nordic can fix the overlap between these two directory branches in next SDK) Without the changes, you can be making config changes and nothing happens.&lt;/p&gt;
&lt;p&gt;If you plan to eventually migrate your project to a newer version of Mesh stack, it can help to define a global macro similar to $(SDK_ROOT), e.g $(MESH_ROOT) and use it when defining the preprocessor include directories for the MeshSDK.&lt;/p&gt;
&lt;p&gt;Finally, the file implmentation/nrfx/nrfx_log.h has a subtle bug that can appear depending on the order your .h files get included. On line 51 the right-hand side of the #define should be NRFX_CONCAT_3(..) instead of CONCAT_3(..). Since CONCAT_3(..) is defined in nordic_common.h you can be lucky and the preprocessor may have picked up the definition already. and you won&amp;#39;t (initially) experience any error.(Spent 1/2 day hunting that one down, so thought should share it!)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130891?ContentTypeID=1</link><pubDate>Thu, 03 May 2018 20:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d168839-570c-494b-8704-0079aa44e453</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;So, I edited &lt;strong&gt;sdk_config.h &lt;/strong&gt;to enable and set&amp;nbsp;&lt;strong&gt;APP_PWM_ENABLED 1, &lt;/strong&gt;I got 48 errors this time. Then I tried to enable&amp;nbsp;&lt;strong&gt;NRFX_TIMER&lt;/strong&gt;,&amp;nbsp;&lt;strong&gt;NRFX_PPI&lt;/strong&gt; and &lt;strong&gt;NRFX_GPIOTE &lt;/strong&gt;with no results.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt; &lt;/strong&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1525378643734v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130675?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 21:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e118d6a-a81b-47e4-bafa-b98ee8ec8158</guid><dc:creator>Daniel Wang</dc:creator><description>&lt;p&gt;Yes, examples in the mesh also have sdk_config.h (found in the include folder for the mesh example). here you need to set&amp;nbsp;APP_PWM_ENABLED to 1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130669?ContentTypeID=1</link><pubDate>Wed, 02 May 2018 19:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2511393e-06bc-4c04-a76c-b414b6997314</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Hello leonwj,&lt;/p&gt;
&lt;p&gt;I explicitly configured my SES settings to include the&amp;nbsp;&lt;em&gt;.\nrf5_sdk_15.0.0_a53641a\components\libraries\pwm&lt;/em&gt;&amp;nbsp;directory into your build path (as well as 2 other include file that were stated as missing in further Build attempts):&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1525290763044v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I also added the file &lt;strong&gt;app_pwm.c&lt;/strong&gt; to my project files under &lt;strong&gt;nRF SDK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;However I got 7 errors like this when trying to Build again:&lt;br /&gt;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1525290701820v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What do I need to do more? Is there a &lt;em&gt;sdk_config.h&lt;/em&gt; that needs to be edited as well in Mesh SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130401?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 20:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4b27379-0e5a-458a-acee-cab9a16dd03e</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;ok, you didn&amp;#39;t include your&amp;nbsp;error log in your original post so my initial observation was to highlight how to get the nRF5 SDK configured into a mesh solution...&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;&lt;em&gt;app_pwm.h&lt;/em&gt; file is included in the nRF5 SDK so you may have to explicitly configure your SES settings to include the&amp;nbsp;&lt;em&gt;.\nrf5_sdk_15.0.0_a53641a\components\libraries\pwm&lt;/em&gt;&amp;nbsp;directory into your build path (see below):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit Options...-&amp;gt;Preprocessor&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x731/__key/communityserver-discussions-components-files/4/8512.5_2D00_1_2D00_2018-4_2D00_38_2D00_53-PM.png" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130394?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 19:33:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f9982e8-0025-4436-b345-81bcfdd8e16c</guid><dc:creator>Paulo.Zacarias</dc:creator><description>&lt;p&gt;Hello leonwj,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the quick reply.&lt;/p&gt;
&lt;p&gt;Unfortunately, that is not the solution. I had&amp;nbsp; nRF5 SDK located adjacently to the nRF5 Mesh SDK already. That part is fine, since I was able to Build the light_switch server example without changes.&lt;/p&gt;
&lt;p&gt;I also checked through the instructions: &amp;quot;&lt;em&gt;The path can be verified by opening one of the source files under the &amp;quot;nRF5 SDK&amp;quot; &lt;/em&gt;&lt;em&gt;file group. If the macro was set correctly, the file should open in the editor &lt;/em&gt;&lt;em&gt;window. If not, it will show an error message telling you that the file couldn&amp;#39;t &lt;/em&gt;&lt;em&gt;be found.&amp;quot; &lt;/em&gt;and it worked.&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But if I try to include other header files it fails with the message &lt;em&gt;No such file or directory&lt;/em&gt; as described before.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;Then I still edited the &amp;quot;&lt;em&gt;Global macro&lt;/em&gt;&amp;quot; as described, but still it doesn&amp;#39;t work (I tried &lt;strong&gt;app_pwm.h&lt;/strong&gt; and &lt;strong&gt;nrf_drv_pwm.h&lt;/strong&gt;).&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM in Mesh SDK 2.0.0</title><link>https://devzone.nordicsemi.com/thread/130385?ContentTypeID=1</link><pubDate>Tue, 01 May 2018 14:39:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23b6314c-72b5-4ab4-88ce-b2460f8f5019</guid><dc:creator>leonwj</dc:creator><description>&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;Assuming that you are using Segger Embedded Studio (SES), you can follow the directions in the &lt;em&gt;.\nrf5-mesh-sdk_v2.01\doc\getting_started\SES.md&lt;/em&gt; file... This will allow you to direct SES to the location of your nRF5 SDK.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# nRF5 SDK for Mesh Segger Embedded Studio first time setup

Segger Embedded Studio determines the location of the nRF5 SDK through macros.
Before building the example, you must first configure the `SDK_ROOT` macro
in Segger Embedded Studio. This is a one time global configuration that will
still be valid the next time you open Segger Embedded Studio. The `SDK_ROOT`
variable defaults to an nRF5 SDK 15.0.0 instance unzipped right next to the mesh
folder if not set.

The `SDK_ROOT` macro can be set by navigating to Tools -&amp;gt; Options, then
&amp;quot;Building&amp;quot;. Under &amp;quot;Build&amp;quot; in the configuration list, edit &amp;quot;Global macros&amp;quot; to
contain `SDK_ROOT=&amp;lt;the path to your nRF5 SDK 15 instance&amp;gt;`. Save the
configuration.

The path can be verified by opening one of the source files under the &amp;quot;nRF5 SDK&amp;quot;
file group. If the macro was set correctly, the file should open in the editor
window. If not, it will show an error message telling you that the file couldn&amp;#39;t
be found.

For more info on Segger Embedded Studio macros, see
https://studio.segger.com/ide_project_macros.htm&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Alternatively, you can simply ensure that the nRF5 SDK is located adjacently to the nRF5 Mesh SDK as depicted in the image below...&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/332x240/__key/communityserver-discussions-components-files/4/5_2D00_1_2D00_2018-10_2D00_31_2D00_45-AM.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>