<?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>How to add a module to an existing example?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65623/how-to-add-a-module-to-an-existing-example</link><description>Hello 
 
 I would like to add Power Management to the BSP example and I&amp;#39;m doing as follows (using SES 5.10): 
 
 add #include &amp;quot;nrf_pwr_mgmt.h&amp;quot; and nrf_pwr_mgmt_init(); to the Main code 
 add to sdk_config.h 
 add &amp;quot;../../../../../../components/libraries</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Sep 2020 09:12:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65623/how-to-add-a-module-to-an-existing-example" /><item><title>RE: How to add a module to an existing example?</title><link>https://devzone.nordicsemi.com/thread/268455?ContentTypeID=1</link><pubDate>Tue, 08 Sep 2020 09:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91c7728f-ab7d-40a3-82a0-bb23f470d8ce</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry no,&amp;nbsp;but you can open project(s) that use the drivers or libraries you want to use, and then look at the included header and source files and paths.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a module to an existing example?</title><link>https://devzone.nordicsemi.com/thread/268372?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 16:32:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed463594-4814-4b8c-a1bc-18fd9ed12557</guid><dc:creator>MarkTazi</dc:creator><description>&lt;p&gt;Is there perhaps an example/template that includes already all the modules and I could exclude those not needed through the sdk_config.h defines?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add a module to an existing example?</title><link>https://devzone.nordicsemi.com/thread/268310?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 12:30:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a8ed15-df3b-47f7-8f85-82bdacc2f37a</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]From this point I keep getting errors and errors. The first being about nrf_mtx.h missing. So I add that as well, but more errors keep poppoing up.[/quote]
&lt;p&gt;This is the way it is when developing with the nRF5 SDK yes, but each time you should be closer to having all the required includes.&lt;/p&gt;
&lt;p&gt;This should not be a problem in nRF Connect SDK:&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Getting started with nRF Connect SDK:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>