[arm-gnu] Cortex-M3 and Floating Point Problems

Krzysztof Wesołowski krzysztof.wesolowski at rainlabs.pl
Thu Jun 21 19:32:41 UTC 2012


> * And lastly... the CodeBench printf has a bug.
>

One more possible reason is that AFAIR printf with %f uses malloc for
memory allocation, and often malloc or underlying sbrk are not
prepared (by user) to work on MCUs (in many example projects I have
seen there was no such support and compiler reports undefined
reference, and then, sometimes not functional code is added just to
stop errors ;)).

Regards,
Krzysztof Wesołowski,



More information about the arm-gnu mailing list