Adds floating point printing support for
By default, when one prints float-point numbers from
printf-family function (
sprint, printf , fprintf, etc.) by using formatting string like "%f", nothing is printed. This is because float-point printing code is large although is rarely used in MCUs. Therefore floating point printing is turned off by default. To turn it on, pass
-Wl,-u -Wl,_printf_float to the
Note that this will increase the size of your binary.