Can't print float on stm32l073
Hello,
I want to print a floating variable in a printf function, but i can’t figure out how to do this. My printf is working fine when i’m not using floating variable, and it seems ignoring floating variable (%f ...). I have also added the following option : “-u _printf_float” to my linker flag -> so i have the folllowing command line :
“-specs=nosys.specs -specs=nano.specs -u _printf_float”
But unfortunatly i can’t succeed printing a floating variable.
If someone have succeeded to do this on a cortex m0, feel free to share your code
Thank you,
Aurélien