The preferred way of memory management, a modified newlib causes crashes on realloc() calls.
Other, non-thread safe memory management schemes heap_1 through heap_5 don’t work either.
Based on maintainer’s comment, it seems like STM32FreeRTOS isn’t supported in PIO and I can’t get it to work either.