Question
Is there anyone succeeded in float printf using CodeSourcery or Ride7?
Posted on November 13, 2010 at 03:46
I am using STM32VL-Discovery to test float printf using codesoucery or ride7.
Is there anyone succeeded in float printf using gcc or ride7? I can do int printf using the small_printf.a. However I can't do float printf. Namely, printf(''Test int: %d \n\r'', int_a); // <== It works well. printf('' Test float: %f \n\r'', float_a); // <== It does NOT work well. If someone knows how I can do float printf using codesoucery or ride7, please let me know it. If you attach your working codes (including c code and startup code and link script) for this, it will be very helpful. #floating-point #gcc-printf-float-codesourcery-ride7 #fpu