The following does not seem right -
void HAL_Delay(uint32_t Delay)
{
vTaskDelay(Delay);
}
uint32_t HAL_GetTick(void)
{
return xTaskGetTickCount();
}
Why are you doing that? You likely need to remove it.
This likely means that you have not setup timer interrupt correctly. How did you set it up? You can use CubeMX UI to change the HAL timebase as I have described here - What I learned about STM32 HAL STOP mode and crash in FreeRTOS - #5 by aggarg.