Help for first graphic project with STM32H743VIT6.
- January 1, 2021
- 7 replies
- 5597 views
Hi all,
I'm new on ST word, but I want to learn how realize graphic interface with gfxstudio.
I bought a board with STM32H743VIT6 (some more infos here: https://github.com/WeActTC/MiniSTM32H7xx)
I installed GFXstudio (v4.16 - v4.15 and v4.13) on STM32CubeIDE 1.5.1.
I create a new project (C++), I choose the right uC and I configured all peripherals to
manage an external TFT 480x272 display (via LTDC)
I designed a simple Screen with a picture and 2 buttons, then I generate the code from GFXstudio 4.16 and it works without problems.
When I try to compile the project on Stm32CubeIDE I see a lots of missing files and patch witch block the compiling process.
Every time I insert a new patch, i receve a new error cause a new file is missing.
I would like to know some simple things to start my first project:
1) Why I must insert all the patch to locate the files needed by project? is it possibile do it automatically?
(some of missing files:
touchgfx/hal/OSWrappers.hpp: No such file or directory
touchgfx/widgets/graph/AbstractDataGraph.hpp: No such file or directory
touchgfx/widgets/graph/GraphElements.hpp: No such file or directory)
2) I change the setting from gfxStudio to load assets (image and text) from internal FLASH. How I can access to the external resources?
in other words, I configured also QUADSPI(2) but "external Data Reader" is always not settable.
3) How can I connect Touch Screen press/release action to the graphic stack?
Can someone help me for my first project? Can someone check my project and adjust the wrong settings? Or does someone has some ready project fro this uC family?
For the moment I would like only to see my design appear on the TFT display.
In the 2nd step I would like to load data from external SPI and interract with touch screen
PS: I tried to load some ready project/template from GFXstudio, but everyone generate errors while compiling (on STM32CubeIDE)
In the attachment, my simple project.
Thanks a lot in advance
