STM32CubeIDE + FreeRTOS + newlib = HardFault!
STM32CubeIDE + FreeRTOS crashes newlib nano calls in multithread environment with sprintf("%f").
Any strtok, sprintf and other malloc calls crashes. Also USB-LL malloc calls in ISRs are not good either.
newlib reentrant doesn't help
nadler solution from http://www.nadler.com/embedded/newlibAndFreeRTOS.html doesn't work.
Github solution https://github.com/DRNadler/FreeRTOS_helpers doesn't works also, or I can't cook it properly.
newlib implementation and ST's heap manager causes HardFault.
Only StdLib for C/C++ works good, but increases code size and memory consumption greatly.
Would ST solve this problem?
