STMCubeIDE 1.3.0 + TouchGFX 4.13.0
I'm currently in a hurry building a touchscreen interface for the many DIY hospital ventilator projects that are running right now to cope with the ventilator shortage the world is facing right now caused by Covid-19. diyventilators.com
I bought the STM32F746G-DISCO board to quickly develop a touchscreen interface, so we don't have to solder many buttons and can monitor multiple patient parameters.
I build the whole interface in TouchGFX Designer 4.13.0 and was all the time able to run in on the target board initiated from TouchGFX Designer.
Now I want to continue development my code in STM32CubeIDE 1.3.0 and I got stuck.
When I open the .ico file within my TouchGFX project folder and try to build in CubeIDE I get:
make: *** No rule to make target 'C:/TouchGFXProjects/OpenVentilator/TouchGFX/gui/src/graph_screen/graph_widget/AbstractGraph.cpp', needed by 'Application/User/gui/AbstractGraph.o'.So I thought, maybe I'm better of creating a new project inside CubeIDE by selecting my board STM32F746G-DISCO.
After creating there is no TouchGFX folder and the newer CubeIDE doesn't have GRAPHICS option in the list of additional software. I read they changed that.
So I managed to get TouchGFX folder added by CubeIDE in what basically is an empty project.
But it doesn't build.
Most errors are related to OSwrappers.hpp missing and touchgfx_init() missing.
I tried many things
- added touchgfx at linking libraries
- excluded simulator folders from build
- found a working CubeMX project that I needed to migrate, but no luck
- opened the TouchGFX project and made a 1 screen app and generate code
- etc.
I worked all night but no luck, I desperately need a STMCubeIDE + TouchGFX working boilerplate to get started from, but STMCubeIDE offers all kinds of one-click installs that are not compiling at all.
Many tutorials are older CubeMX related not CubeIDE with build-in newer CubeMX