<?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>Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52503/numerous-errors-compiling-nrf_log_frontend-c</link><description>I wasn&amp;#39;t receiving any log messages while debugging the ble_app_uart_c example using SES so I enabled appropriate logging functions and set them to level 4 in config.h. Still didn&amp;#39;t get any log messages so I added NRF_LOG_INFO() after the #defines section</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Sep 2019 13:03:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52503/numerous-errors-compiling-nrf_log_frontend-c" /><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211833?ContentTypeID=1</link><pubDate>Wed, 25 Sep 2019 13:03:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91a30356-9044-4119-821c-e2b4e3f27e97</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That is odd. It compiles on my side, using yor code (with the described changes) dropped in SDK 15.3. Perhaps you have some issues in other SDK files, outside your project. Can you download and extract a fresh copy of the SDK and test it there?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211618?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 17:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b9526f2-7de5-430c-983b-494a6d937e73</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Made the changes you suggested and still get errors.&amp;nbsp; I&amp;#39;ve attached a screen shot.&amp;nbsp; If I manage to fix this&lt;/p&gt;
&lt;p&gt;one error, other errors pop up.&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ScreenCapture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211567?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 13:34:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b95d05d3-0005-487a-b752-0de7aa3d4d95</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is only one compile error in this project, and it is not related to logging. The error is that you are missing a semicolon after the } on line 90 in main.c. There is also a warning which you should fix, which is that you redefine&amp;nbsp;BLE_UUID_TYPE_BLE on line 72. So you should comment that out or delete the line. Lastly, I recommend you set&amp;nbsp;NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED in your sdk_config.h to 0, to fix the new lines in the RTT log.&lt;/p&gt;
&lt;p&gt;With these changes, I get a sensible log from our application (the log indicates some problems, but that is a different matter altogether).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211557?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 13:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2e1654b-2e14-4658-a412-45c24ebb2fe3</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8030.ble_5F00_app_5F00_uart_5F00_c.zip"&gt;devzone.nordicsemi.com/.../8030.ble_5F00_app_5F00_uart_5F00_c.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211540?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 12:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c945317c-d5df-4dc6-bd8f-9c6cb405a336</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Strange. You can make a private question and upload your code there if you do not want to share it publically. Please refer to this thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211539?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 12:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07fbb2eb-3bd5-4d31-95c3-48fc2993f4d7</guid><dc:creator>EricDelangis</dc:creator><description>&lt;p&gt;I am using SDK 15.3.&amp;nbsp; A bit more info... I thought that i might have a corrupt nrf_log_internal.h file so I replaced it and commented out the NRF_LOG_INFO() line that I added at the top of main.c then rebuilt the project and it worked.&amp;nbsp; Then I reenabled the NRF_LOG_INFO() line in main.c and got tje same errors again.&amp;nbsp; I then commented out the NRF_LOG_INFO() line again but still get the errors.&amp;nbsp; I&amp;nbsp;will email my project to you. &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Numerous errors compiling nrf_log_frontend.c</title><link>https://devzone.nordicsemi.com/thread/211523?ContentTypeID=1</link><pubDate>Tue, 24 Sep 2019 11:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d46ff26e-5c06-4423-9bc6-33fa42e300e4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It is difficult to know what has gone wrong without seeing your code. Also, you don&amp;#39;t write which SDK version you are using, but SDK 15.3 use RTT logging in the&amp;nbsp;ble_app_uart_c example, so you don&amp;#39;t need to do much at all. It is already enabled, so you just have to use an RTT viewer or SES directly to observe the logs, and add&amp;nbsp;NRF_LOG_INFO(&amp;quot;some log message&amp;quot;) wherever you need it. If you need logging in a file that does not have the required include, you just need to add &amp;quot;#include &amp;quot;nrf_log.h&amp;quot;&amp;quot; in that file.&lt;/p&gt;
&lt;p&gt;If that does not help, please elaborate on what you have done, preferably by sharing code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>