<?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 UART feature to sdk_config.h of ble_app_hrs ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65438/how-to-add-a-uart-feature-to-sdk_config-h-of-ble_app_hrs</link><description>Hello. 
 
 I am evaluating with nRF52833 DK board. I checked both peripheral/uart and ble_peripheral/ble_app_hrs. 
 Examples work each well on nRF52833 DK. I want to add the UART function to ble_app_hrs. 
 
 I do the follow steps: 
 1) Modified the source</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Sep 2020 11:27:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65438/how-to-add-a-uart-feature-to-sdk_config-h-of-ble_app_hrs" /><item><title>RE: How to Add a UART feature to sdk_config.h of ble_app_hrs ?</title><link>https://devzone.nordicsemi.com/thread/267611?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 11:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a75963e-7940-416c-81e2-589bec5d9ab6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re using nRFConnect SDK (NCS) in SEGGER Embedded Studios you can configure your project by going to &lt;strong&gt;Configure&amp;nbsp;nRF Connect SDK Project...&amp;nbsp;&lt;/strong&gt;In the Project dropdown menu. If you&amp;#39;re working in some other IDE, you can find these configurations in the prj.conf settings.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add a UART feature to sdk_config.h of ble_app_hrs ?</title><link>https://devzone.nordicsemi.com/thread/267510?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 23:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e220ba-8762-4f91-a8cb-462165869791</guid><dc:creator>HyunSuk</dc:creator><description>&lt;p&gt;hello, &lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/awneil"&gt;awneil&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&amp;nbsp; But&amp;nbsp;I&amp;#39;m a beginner of Nordic Product and&amp;nbsp;sorry to say the follow message.&lt;/p&gt;
&lt;p&gt;Please show the example, where is the link for the defined code part of sdk_config.h for UART?&lt;/p&gt;
&lt;p&gt;I look at the nRF Connect SDK for UART,&amp;nbsp;where is the content about APP_FIFO_ENABLED and&amp;nbsp;APP_UART_ENABLED?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;Additionally, I added UART function to ble_app_hrs project. it compiled successfuly.&lt;/p&gt;
&lt;p&gt;But, it get a error report with RTT.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; &amp;lt;debug&amp;gt; app: EC=0
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: ERROR 8 [NRF_ERROR_INVALID_STATE] at C:\ShareVM\Nordic\nRF5_SDK_17.0.0_9d13099\components\libraries\log\src\nrf_log_backend_uart.c:67
00&amp;gt; 
00&amp;gt; PC at: 0x0003256F
00&amp;gt; 
00&amp;gt; &amp;lt;error&amp;gt; app: End of error report
00&amp;gt; &lt;/pre&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;I solved the error report of UART from &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/46109/error-code-0x08-nrf_error_invalid_state-is-returned-by-uart_init?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Descending"&gt;link&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;Please check the upper question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Add a UART feature to sdk_config.h of ble_app_hrs ?</title><link>https://devzone.nordicsemi.com/thread/267395?ContentTypeID=1</link><pubDate>Tue, 01 Sep 2020 08:49:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3e0f38e-f667-4347-9420-33aa93a35295</guid><dc:creator>awneil</dc:creator><description>[quote userid="92612" url="~/f/nordic-q-a/65438/how-to-add-a-uart-feature-to-sdk_config-h-of-ble_app_hrs"]How to insert the defined&amp;nbsp;code automatically or smarter?[/quote]
&lt;p&gt;There is no tool to do that automatically - you have to do it manually&lt;/p&gt;
&lt;p&gt;This has always been a problem, and there is no sign of it improving in the nRF5 SDK:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45366/missing-defines-in-generic-sdk_config-h/178402#178402"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45366/missing-defines-in-generic-sdk_config-h/178402#178402&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;nRF Connect SDK&lt;/strong&gt; has a whole new approach to managing this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_ncs_latest.html"&gt;https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_ncs_latest.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>