Loading...
 
Skip to main content

System Workbench for STM32


Printf support for semihosting/ITM debugging for float variables.

I cannot get sprintf to work with floats either.

I checked the linker script and the _estack is fine

_estack = 0x20020000; /* end of RAM */

I am using an M4 and have the Hard FPU selected.

How do I enable printf with float?