2021-04-19 08:03 PM
I have a STM32H7B3I-DK, and I can create a TouchGFX project with FreeRTOS and it works great.
I wanted to research not using an RTOS, so using CubeMX I created a project based on the STM32H7B3I-DK, which includes TouchGFX, but does not have an RTOS. The code looks like some of the comments I've seen, where MX_TouchGFX_Process(); is continually called within a loop.
However, the project doesn't build. It gets various errors, such as:
"fatal error: texts/TypedTextDatabase.hpp: No such file or directory"
"fatal error: touchgfx/hal/GPIO.hpp: No such file or directory"
"fatal error: touchgfx/hal/HAL.hpp: No such file or directory"
and maybe about eight more like that.
I was assuming that CubeIDE would create a project that builds, so I don't know why it has this issue.
2021-04-19 10:42 PM
Seems as you dont generate code in TouchGFX. When you use Cube for project you need some steps order.
2021-04-21 10:29 AM
Thanks. That solved those errors. I was then getting a TouchGFX_FrameBuffer too small error, but I made some changes in the linker file to get around that.
I now have the problem that any project I create using CubeMX displays a blank screen. Without an ROTS it's white, with an RTOS it's black. Projects created with TouchGFX for my STM32H7B3I-DK work great, but of course, they all have an RTOS.