<?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>Compiling C Code</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57479/compiling-c-code</link><description>Hi 
 I am using Segger Embedded Studio and SDK_v15.3.0. I have a C++ code that I wish to run on the board. It has a lot of printfs. I want to see the output of the print statements in SES. How do I do that? I am familiar with NRF_LOG_ENABLED = 1 in sdk_config</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Feb 2020 10:34:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57479/compiling-c-code" /><item><title>RE: Compiling C Code</title><link>https://devzone.nordicsemi.com/thread/233226?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2020 10:34:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49d2cefa-3baa-4ab8-813b-f64107b7bbc2</guid><dc:creator>Jared</dc:creator><description>[quote user="Sai Kiran"]And when I run the code, the log values are not displayed. Only when I debug the code, the log values are displayed[/quote]
&lt;p&gt;&amp;nbsp;Which logs that are processed depends on which severity level that is set by the module and globally. See the documentation for the logger module for more &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/lib_nrf_log.html?cp=7_1_3_26"&gt;information&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling C Code</title><link>https://devzone.nordicsemi.com/thread/233102?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 15:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01049708-283e-4759-934c-6e848a46b93d</guid><dc:creator>Sai Kiran</dc:creator><description>&lt;p&gt;What happens if I enable both? Will I be able to see in terminals like Putty and as well as in SEGGER?&lt;/p&gt;
&lt;p&gt;And when I run the code, the log values are not displayed. Only when I debug the code, the log values are displayed. Is there anything I am missing?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling C Code</title><link>https://devzone.nordicsemi.com/thread/233067?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 13:29:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aba9c455-2f39-421b-8c28-d43e85f7c6c2</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;The log output can be displayed by using a terminal such as PuTTY or Termite. If you use RTT as backend then you can use the terminal in SEGGER to display the log.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling C Code</title><link>https://devzone.nordicsemi.com/thread/232995?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 09:53:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29b125f3-174e-42d4-b47a-afa24f41109e</guid><dc:creator>Sai Kiran</dc:creator><description>&lt;p&gt;I ran the example code. I do not understand where to look for the print outputs. The output terminal shows &amp;quot;Build Complete.&amp;quot; Where is the output shown? In the Output terminal?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Compiling C Code</title><link>https://devzone.nordicsemi.com/thread/232987?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 09:42:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042e26e0-14a4-4793-9303-c4b58178e7f8</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Just use &amp;quot;retarget_printf_to_log.c&amp;quot; in examples/iot/socket/tcp/client directory inside SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>