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
2020-06-22 10:48 AM
2020-06-22 02:20 PM
Or use this printf as replacement: https://github.com/mpaland/printf
2020-06-22 03:39 PM
thank you verry much!
2020-06-22 03:39 PM
i will try.Thank you for replay.
2020-06-22 04:49 PM
It's worked.thank you.
2020-06-22 04:50 PM
sprintf is working but osDelay is not working anymore.