printf float STM32G070CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-28 6:18 AM
How to enable float (printf) in STM32CUBEIDE 1.0.1 IDE?
The -u printf_float option is selected.
- Labels:
-
STM32CubeIDE
-
STM32G0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-01 5:30 AM
If you're wondering HOW then that is explained in this thread.
Or, if you're having problems with the float itself that is explained in this thread.
If it was something else completely then please give some more details of the problem you're facing and I'll hopefully be able to provide a better answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-07-02 4:56 AM
I had problem with printing floats in printf. The solution was to fix the linker file with wrong stack address and I also had to remove the default included file "sysmem.c" since the function _sbrk always failed and malloc was not working.
