Question
Why does sprintf not work with RTOS?
I'm trying to use this function:
char str[80];
float val;
sprintf(str, "%f", val);But the task freezes.
I've already added the -u _printf_float flag to work with the serial output, but it still doesn't work.
If using another form of variable, %d, %u, %lu, %s works fine.
The task also freezes when trying to print the log through the serial port similar to the method used for USB debugging.
(Using CMSIS_V1)
