anonymous wrote on Wednesday, February 25, 2009:
I’m using FreeRTOS on a PIC32 and so far everything is going well apart from sprintf. After some searching on the Microchip forums, I came across this post (http://forum.microchip.com/tm.aspx?m=372645) which describes a similar problem to what I’m facing. In my case, when running the release build of the firmware, sprintf(%f) will always print 0.00 and not the number I input. Strangly enough, it works fine if I run the PIC in debug mode using the ICD3.
Regardless, I was wondering if there was a known fix for this, or if there are other alternatives I could use for printing a floating point number into a string while using FreeRTOS?