<?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>Printf over UART fails to print floats</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70011/printf-over-uart-fails-to-print-floats</link><description>Hi, 
 I&amp;#39;m trying to print a float over UART but I think the NRF implementation is faulty. I&amp;#39;ve tested not UART SDK example with the following changes, inserted at line 168: 
 
 UART output: 
 
 As you can see there is clearly no printed float output.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Dec 2020 16:36:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70011/printf-over-uart-fails-to-print-floats" /><item><title>RE: Printf over UART fails to print floats</title><link>https://devzone.nordicsemi.com/thread/287062?ContentTypeID=1</link><pubDate>Thu, 31 Dec 2020 16:36:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33d596b0-3674-4dba-a68a-ba649e1f3ce9</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;by default GCC does not enable float printf. &amp;nbsp;To enable it, add linker flag &lt;span style="font-family:&amp;#39;comic sans ms&amp;#39;, &amp;#39;comic sans&amp;#39;, sans-serif;"&gt;-u _printf_float&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>