FreeRTOS running, SUCCESS!
As per my experience with these things you must go for the alternative. If you create an empty STM SW project and select that you will use HAL driver.
Also it is added as a shared library and then you be able to use it in the workspace.
But this aproach is not compatible with CubeMX importing project tecnique.