STM322CubeMX generated code that includes the package X_CUBE_TOUCHGFX is not compiling successfully
I am trying to compile the generated code from STM32CubeMX that already has an activated X_CUBE_TouchGFX package with no success.
there is a lot of missing files! so I did generate a project using the TouchGFX Designer and tried to add all the missing files to my project, this partially solved the problem, cause there are files that include the DSI driver.
the microcontroller I am using is STM32H747XI and I believe that because the evaluation board for this microcontroller "STM32H747I-DISCO " uses DSI mode the files using it is generated although the DSI peripheral is not activated on my IOC file and I still have errors that header files is missing and don't know how to fix it!.
In general, how can I create a new TouchGFX project for my custom board that uses STM32H747XI microcontroller without the DSI peripheral, instead I am using an RGB interface with the LCD?
Another related issue was that when I generated the code using STM32CubeMX or STM32CubeIDE the generated project settings said that the project isn't CDT and the C/C++ Build tap wasn't existing in the project properties, to fix that I copy and pasted .cproject files for each core from example project for the evaluation board generated by TouchGFX designer!
Please I want help to bring up my project.
I will be glad to get help for the following:
1. how to create a custom TouchGFX project for my custom board
- my custom board uses RGB without the DSI mode
- my board uses SPI to interface with external RAM instead of FMC
2. How to fix the compiler errors for missing files that my project doesn't need like the DSI driver.
Best Regards
JKhal
