<?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() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47615/printf-for-floats-does-give-blanks-not-printing-floats</link><description>Hi, 
 I tried to find info on how to print float values in Segger windows application, no luck. Of course my question is how do i printf() float values on debug terminal in segger. 
 Thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 May 2019 08:46:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47615/printf-for-floats-does-give-blanks-not-printing-floats" /><item><title>RE: printf() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/thread/188470?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 08:46:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a6c62b-86d7-476b-8912-c746cf4e161c</guid><dc:creator>AimHigh</dc:creator><description>&lt;p&gt;OK! Noted and Thanks for the reply&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/thread/188441?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:59:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e207cee-5885-4122-acea-19cdffc94195</guid><dc:creator>sijohans</dc:creator><description>&lt;p&gt;That depends on your development environment. If e.g. using arm gcc and makefiles, you will have to change this in your projects makefile. I don&amp;#39;t know exactly how projects in the latests SDK is structured, but this is what i had to to in a/some previous version(s) when i had the same issue as you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/thread/188439?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40e027ee-5c64-4c5c-8632-e5cd50035331</guid><dc:creator>AimHigh</dc:creator><description>&lt;p&gt;I am sorry, for windows application where do I have to add that line?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/thread/188438?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8db6811c-1b4f-4ec5-bd6b-e698204d8008</guid><dc:creator>AimHigh</dc:creator><description>&lt;p&gt;I found the answer on the forum after posting here. Anyways you need to go to&lt;/p&gt;
&lt;p&gt;Project options --&amp;gt;Select Common Configuration&amp;nbsp; --&amp;gt;Code --&amp;gt;Prinf/Scanf now change it here to Float supported.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ref:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30535/nrf52-printf-float-in-ses/120908#120908"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/30535/nrf52-printf-float-in-ses/120908#120908&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: printf() for floats does give blanks not printing floats</title><link>https://devzone.nordicsemi.com/thread/188437?ContentTypeID=1</link><pubDate>Wed, 22 May 2019 07:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b182578e-5a33-4e99-9f3c-5871d66f4465</guid><dc:creator>sijohans</dc:creator><description>&lt;p&gt;Try adding&amp;nbsp;&lt;code&gt;-u _printf_float in the linking flags.&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>