<?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 prints blanks instead of floats</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11668/printf-prints-blanks-instead-of-floats</link><description>Same question as devzone.nordicsemi.com/.../ 
 What needs to change for a gcc setup in the compile flags.
If that helps, some of the flags I have now include: 
 -mfloat-abi=hard -mfpu=fpv4-sp-d16</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2016 01:19:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11668/printf-prints-blanks-instead-of-floats" /><item><title>RE: printf prints blanks instead of floats</title><link>https://devzone.nordicsemi.com/thread/44108?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2016 01:19:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39757d7c-3efb-4e37-9054-a6e11f0f98d8</guid><dc:creator>matthieu</dc:creator><description>&lt;p&gt;Found the answer there: &lt;a href="https://devzone.nordicsemi.com/question/5076/using-floats-with-sprintf-gcc-arm-none-eabi-nrf51822/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Basically add&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;LDFLAGS += -u _printf_float
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>