How to run the littelVGL pro on the FreeRTOS

My littlevgl project works well without OS in STM32F407. but it halt on the FreeRTOS. The codes as follows.

The code block(s) should be between ```c and ``` tags:

void StartTask01(void *argument)
{
  /* USER CODE BEGIN StartTask01 */
  /* Infinite loop */
  for(;;)
  {
     lv_task_handler();
     osDelay(5);
  }
  /* USER CODE END StartTask01 */
}

Besides, lv_tick_inc(1) has been running already. The stack and heap size is big enough. Thanks for your help !

Are you using mutexes/semaphores where necessary?

No, because there’s no critical section in the Pro