<?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() Floats in nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27991/printf-floats-in-nrf52832</link><description>Hello, 
 I&amp;#39;ve gone through the other posts regarding printf() with floats ( devzone.nordicsemi.com/.../) 
and I still can&amp;#39;t seem to get float to print. Currently, printf() of floats prints a blank. I&amp;#39;ve declared in system_nrf52.c &amp;quot;#define __FPU_USED</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Dec 2017 02:27:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27991/printf-floats-in-nrf52832" /><item><title>RE: Printf() Floats in nrf52832</title><link>https://devzone.nordicsemi.com/thread/110403?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2017 02:27:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a62be3be-ac86-4a34-a1c4-f91c3a5341dc</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Try with regular newlib. I just remember some version of nano does not support it.  It&amp;#39;s been a while I don&amp;#39;t remember exactly which&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Printf() Floats in nrf52832</title><link>https://devzone.nordicsemi.com/thread/110402?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 22:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c83ba72-5de9-43ed-9568-0e878b01cf6c</guid><dc:creator>Sami</dc:creator><description>&lt;p&gt;Thank Nguyen, I did that and still no luck. Yes I&amp;#39;m using &amp;quot;newlib-nano&amp;quot;. Here is a snippet of my commands from the Makefile:&lt;/p&gt;
&lt;p&gt;LDFLAGS += --specs=nano.specs -lc -lnosys&lt;/p&gt;
&lt;p&gt;LDFLAGS += -u _printf_float&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Printf() Floats in nrf52832</title><link>https://devzone.nordicsemi.com/thread/110401?ContentTypeID=1</link><pubDate>Wed, 06 Dec 2017 21:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a8b3a51-f544-43e5-904c-2e6b15ed4478</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;If you are using newlib-nano, you need to enable printf with float support link the linker setting with flag &lt;code&gt;-u _printf_float&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>