a known issue about sprintf function in Creator 3.1

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

In Creator 3.1, it introduces a new option. (See Pic)

   

This option has some problem at current version(3.1.0.1570), user should use '-u _printf_float' command in Linker Command Line as a replacement.

   

In addition, due to sprintf function needs a big heap size, user may get a wrong result with default heap size(0x80). user should increase the heap size at .cydwr > system > Heap Size(byte). It will be enough to change to 0x200.

0 Likes
1 Reply
JoCa_263971
Level 1
Level 1

 Thanks for this solution. I lost time for this bug.

   

It's clear and works like a charm

   

JJ

0 Likes