<?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 turn on the BSP UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6755/how-to-turn-on-the-bsp-uart</link><description>Hello, 
 I am altering this project: nRF51_SDK_8.0.0_5fc2c3a\examples\ble_peripheral\ble_app_hrs\pca10028 
 I am trying to turn on the BSP UART. I main.c the project uses bsp_init() to enable the buttons and leds. 
 I just want to use the UART so I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 May 2015 00:17:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6755/how-to-turn-on-the-bsp-uart" /><item><title>RE: How to turn on the BSP UART</title><link>https://devzone.nordicsemi.com/thread/23724?ContentTypeID=1</link><pubDate>Mon, 04 May 2015 00:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae21697a-3341-4e8a-a4e8-8f5f88304b29</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Don&amp;#39;t #define it, make it a project define like all the examples do. That ensures that all your code sees the define.&lt;/p&gt;
&lt;p&gt;When you hit the break button where does the debugger show you are (that was the second part of the original reply).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on the BSP UART</title><link>https://devzone.nordicsemi.com/thread/23723?ContentTypeID=1</link><pubDate>Sun, 03 May 2015 19:07:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:405271c5-65bb-4693-9191-1eea9c674046</guid><dc:creator>Glenn</dc:creator><description>&lt;p&gt;I added&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define BSP_UART_SUPPORT	1
#ifdef BSP_UART_SUPPORT
printf(&amp;quot;%s&amp;quot;, p_text);
#endif // BSP_UART_SUPPORT
return err_code;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I put a breakpoint on the printf statement and the return statement.  The debugger stops at t the printf.  I take the next step in the code and it does not stop on the return statement.  I believe there is some issue with the uart and the printf statement is not executing properly.&lt;/p&gt;
&lt;p&gt;Thanks,
Glenn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to turn on the BSP UART</title><link>https://devzone.nordicsemi.com/thread/23722?ContentTypeID=1</link><pubDate>Tue, 28 Apr 2015 00:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13acce4d-771a-4881-a682-26dc0d4bd025</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Have you defined BSP_UART_SUPPORT? If not, then there&amp;#39;s no BSP UART support.&lt;/p&gt;
&lt;p&gt;update #1:&lt;/p&gt;
&lt;p&gt;So you set a breakpoint at printf and it stops, then you single step. What happens next, does the debugger stop again or just keep running? If it stops, where does it stop, if it keeps running, hit the break button and find out where it is.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>