Making changes in CubeMX does not import necessary files in Drivers folder
I created a project in TouchGFX Designer and then I opened the project in CubeMX. It compiles successfully. But then I want to add UART function to my project. So I go to CubeMX and add UART function but when compiling it gives an error because the stm32h7xx_hal_uart.c and stm32h7xx_hal_uart_ex.c files were not added to Drivers\STM32H7xx_HAL_Driver folder. So I had to manually import them and it compiles fine.
CubeMX should have a functionality to automatically add the corresponding files for each functionality.
Now I have added FreeRTOS functionality and it's giving me the same type of error message, except I do not know what files to add since I am not too familiar with RTOS.

The error message is so long that I had to take 2 separate screenshots, I hope you guys can read it and help me out.
I suspect the problem have to do with missing files for FreeRTOS.
