cubeide sprintf float error with FreeRTOS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 10:33 AM
I trying to force some types of floats into string types. When using keil c, there is no problem, but when using Cube IDE, the program jumps to HardFault_Handler. I have allowed to use float with printf from newlib - nano in the tool setting. I only get this error when using FreeRTOS and if not using FreeRTOS then there is no problem. I tried both STM32f4 and H7 to get the same error.
Please help me .
thank all
- Labels:
-
FreeRTOS
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 10:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 2:20 PM
Or use this printf as replacement: https://github.com/mpaland/printf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 3:39 PM
thank you verry much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 3:39 PM
i will try.Thank you for replay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 4:49 PM
It's worked.thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-22 4:50 PM
sprintf is working but osDelay is not working anymore.
