cancel
Showing results for 
Search instead for 
Did you mean: 

Float variables print on Debug UART

AP_040
Senior

With the help of STM32 CUBEMX generated basic code for IAR-EW and I have design a small code to print float variables on UART for debug purpose in STM32F413RH. This is working fine in IAR-EW but same things when I used in Atollic TrueStudio it is not working. So, is there any specific setting or add some plugins may required in TureStudio?. Can you help me on this.

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
AP_040
Senior

Search on Google and found that it is require to following setting in TrueStudio.

Under the project properties, find the C/C++ build->Settings->Tool Settings->C Linker->Miscellaneous->Other options option in the air: -u_printf_float. 

After doing this it is working fine.

Apart from this setting anything may required?.