2023-04-26 08:12 AM - edited 2023-11-20 07:04 AM
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.
Solved! Go to Solution.
2023-04-27 02:52 AM
Problem fixed. I disable RTOS on CubeMX and regenerated the code and it worked fine.
https://support.touchgfx.com/4.17/docs/development/scenarios/running-without-rtos
2023-04-27 02:52 AM
Problem fixed. I disable RTOS on CubeMX and regenerated the code and it worked fine.
https://support.touchgfx.com/4.17/docs/development/scenarios/running-without-rtos