sprintf misbehaving with floats

Freddie Chopin freddie_chopin@op.pl
Fri Jul 3 07:42:00 GMT 2015


On 02.07.2015 19:58, Kline, Matthew wrote:
> I'm currently working on building it myself with debug symbols so I can pick
> things apart more, but in the meantime, does anybody have an idea of what could
> be going on?

You may be interested in my "bleeding-edge-toolchain" compilation, that 
has slightly better combination of newlib options for MCUs, disables C++ 
exceptions and has debug symbols in the libraries.

http://www.freddiechopin.info/en/articles/35-arm/87-bleeding-edge-toolchain-o-co-chodzi
https://sourceforge.net/projects/bleeding-edge/

As for your original problem - I never saw such problem, but something 
very similar can be caused by _NOT_ aligning stacks to double word 
boundary (8 bytes).

Regards,
FCh



More information about the Newlib mailing list