<?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 can i regarget the &amp;#39;printf&amp;#39; in my project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12263/how-can-i-regarget-the-printf-in-my-project</link><description>HI , ALL 
 i coded the uart_init in my project. 
 and i want to regarget the printf in my project. 
 so i find the retarget function is in the &amp;#39;retarget.c&amp;#39; , 
 i tried define __CC_ARM , ICCARM , GNUC 
 all failed . 
 the statement printf(&amp;quot;bcde&amp;quot;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Mar 2016 08:13:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12263/how-can-i-regarget-the-printf-in-my-project" /><item><title>RE: how can i regarget the 'printf' in my project</title><link>https://devzone.nordicsemi.com/thread/46379?ContentTypeID=1</link><pubDate>Wed, 02 Mar 2016 08:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4dc056a-26f4-433b-85eb-ee84dae4df22</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;You must use app_uart_fifo.c and not app_uart.c in your project.
Check &lt;a href="https://devzone.nordicsemi.com/question/23251/printf-only-sends-a-single-byte/"&gt;this&lt;/a&gt; link&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>