I have a simple blink LED task running @100ms.
I have a printf that outputs float values( via a semaphore) when the UART rx interrupt sees a \n.
printf( “%0.1f|%0.1f\r\n”, value1, value2);
The code works for a few iterations, parsing commands and sending correct values out and then goes to a hardfault. if I remove the float values above and replace it with uint_16, it works ok.
- I’m using FreeRTOS 8.1.2.
- FreeRTOS configs are generated by CubeMX.
- Heap2 in use.
Thanks. Any help is appreciated.