vPortStartFirstTask() generates Hard Fault Exception

There is a doc provided by STM which could be helpful:
Developing applications on STM32Cube with RTOS
I guess there are also official Blinky demos for comparison…