<?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>I&amp;#39;d like to add a peripheral device to the example code.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65057/i-d-like-to-add-a-peripheral-device-to-the-example-code</link><description>Hello, I am I&amp;#39;m a Beginner at developing NRF 51822. My Development Environment sdk : 12.3 IDE: KEIL v5 SoftDevices : s130 
 
 I am developing using the example of &amp;#39;ble_app_uart&amp;#39; of &amp;#39;sdk 12.3&amp;#39;. 
 
 I want to add a peripheral device to the example code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Aug 2020 05:35:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65057/i-d-like-to-add-a-peripheral-device-to-the-example-code" /><item><title>RE: I'd like to add a peripheral device to the example code.</title><link>https://devzone.nordicsemi.com/thread/265638?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 05:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:290ab4ae-b846-451e-b805-c53120c56aa8</guid><dc:creator>yun sung hyuk</dc:creator><description>&lt;p&gt;&lt;span&gt;I solved it.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I&amp;#39;m writing because I think there might be someone who makes a rudimentary mistake like me.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/unknown.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;ve added a header file.&lt;br /&gt;&lt;br /&gt;Additionally, the error occurred by building the c-file without adding it.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'd like to add a peripheral device to the example code.</title><link>https://devzone.nordicsemi.com/thread/265634?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 03:01:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:643dd43a-aa1c-4b20-9721-07661af52c44</guid><dc:creator>yun sung hyuk</dc:creator><description>&lt;p&gt;&lt;span&gt;Thank you for your reply.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;However, the settings in the sdk_config.h file have already been applied.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I'd like to add a peripheral device to the example code.</title><link>https://devzone.nordicsemi.com/thread/265631?ContentTypeID=1</link><pubDate>Fri, 21 Aug 2020 00:58:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f516e60-fd99-4f94-8e77-da29e99c734a</guid><dc:creator>JPMorganJeremy</dc:creator><description>&lt;p&gt;You also need to enable the timer in the sdk_config.h file.&lt;/p&gt;
&lt;p&gt;It should look like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifndef APP_TIMER_ENABLED
#define APP_TIMER_ENABLED 0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Just set that to &amp;#39;1&amp;#39; instead of &amp;#39;0&amp;#39;&lt;/p&gt;
&lt;p&gt;Also,&amp;nbsp;TIMER0 and TIMER1 should be set to &amp;#39;1&amp;#39;. Or more can be enabled if you need them for whatever reason.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifndef TIMER0_ENABLED
#define TIMER0_ENABLED 0
#endif

// &amp;lt;q&amp;gt; TIMER1_ENABLED  - Enable TIMER1 instance
 

#ifndef TIMER1_ENABLED
#define TIMER1_ENABLED 0
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>