printf issue
Hello,
I'm encountering an issue where the printf function is providing an incorrect output for float or double values. The simplified code snippet causing this problem is as follows:
float f = 0.33;
printf("d:%4.2f;\r\n", f);
Upon analyzing the output using a logic analyzer, I initially observe the two bytes \xF0 \x87 followed by "0.33;\r\n", indicating that the "d:" prefix is not matching as expected.
I'm using a STM32L432KCU microcontroller with STM32CubeIDE version 1.14.0. The option to utilize floats with printf is enabled in the settings.
Would appreciate any insights or suggestions to resolve this issue.
Kind Regards
Lutz
