[riot-users] printf float on stm32f4 with toolchain arm-none-eabi-gcc

Martin Stoilov martin at rpasearch.com
Fri Dec 19 09:24:04 CET 2014


On 12/18/2014 11:35 PM, Martine Lenders wrote:
> Hi again,
>
> 2014-12-19 8:33 GMT+01:00 Martine Lenders <authmillenon at gmail.com <mailto:authmillenon at gmail.com>>:
>
>     Hi,
>     […]
>     Hope I could help.
>
> If not: Might be good to have see some of your code, so I can stop guessing ;-).
>
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/users
Attached is a simple patch that demonstrates the problem. If main is called directly sprintf works, if it is called from the thread sprintf outputs 0.00000

Thanks,
-Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sprintf_float_demo.patch
Type: text/x-patch
Size: 1409 bytes
Desc: not available
URL: <http://lists.riot-os.org/pipermail/users/attachments/20141219/2d6ab42c/attachment-0001.bin>


More information about the users mailing list