<?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>Not output with printf</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67227/not-output-with-printf</link><description>Hello, 
 I have the following application code (based on the template project from the SDK): 
 
 
 The receive callback is working and I get all the characters from my terminal, but I don´t get any output with printf. 
 How can I fix this?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Oct 2020 12:36:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67227/not-output-with-printf" /><item><title>RE: Not output with printf</title><link>https://devzone.nordicsemi.com/thread/275084?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 12:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d40f67e-a8d0-4ccf-94fd-ae7bc7f4e12c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user="Kampino"]the macro was missing and I add it. But the problem still exists.[/quote]
&lt;p&gt;Could you also confirm for me that you have added the retarget source file&amp;nbsp;&lt;span&gt;components\libraries\uart\retarget.c to your project?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not output with printf</title><link>https://devzone.nordicsemi.com/thread/275017?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 09:25:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:890e904d-1c39-49ac-b889-b88e9e99f87a</guid><dc:creator>Kampino</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;the macro was missing and I add it. But the problem still exists.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not output with printf</title><link>https://devzone.nordicsemi.com/thread/275015?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2020 09:15:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b4ca054-a7b4-450d-b021-242a8d034b72</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]&lt;p&gt;The receive callback is working and I get all the characters from my terminal, but I don´t get any output with printf.&lt;/p&gt;
&lt;p&gt;How can I fix this?&lt;/p&gt;[/quote]
&lt;p&gt;Could you check whether or not RETARGET_ENABLED is defined to 1 in your sdk_config?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>