2022-09-25 10:02 AM
I try to make an application with STM32H745I_DISCO. After I enable TouchGFX, and generate code, the project fails to compile.
Did ST started supporting TouchGFX officially on STM32H745I controllers ?
Is there any official documentation/guidelines ?
If anyone is successful in doing the same, please share a demo project with CubeIDE. I don't have access to any other compiler.
Solved! Go to Solution.
2022-09-29 12:56 PM
Yes you have right , this CM7 dont work annd ST blame long time TGFX.
For now you can as master use steps:
your ok project opens and build in IDE
2022-09-25 10:58 AM
Maybe better is show error and steps , that you do.
2022-09-26 10:09 AM
2022-09-26 10:10 AM
2022-09-26 01:30 PM
You complete skip important steps for generate project parts.
After add software pack and configure it you generate code for HAL parts , but next step is
once open ... 1_H745_TGFX\CM7\TouchGFX\ApplicationTemplate.touchgfx.part
generate gui code part. (without errors )
Back in IDE start clean and build.
2022-09-29 09:30 AM
My TouchGFX shows error,
"Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
Unable to locate E:/WORKS/STM32/3_WORKS/1_H745_TGFX_Test/.cproject
Failed
Failed"
It looks for *.cproject file in the project root directory but the file is in
E:/WORKS/STM32/3_WORKS/1_H745_TGFX_Test/CM7/.cproject
Attached my project just before enabling TouchGFX.
If time permits, please try whether it works for you.
My TouchGFX generator runs in administrator mode.
Following is my *.part file generated by cubeMX
{
"Application": {
"Name": "1_H745_TGFX_Test",
"TouchGfxPath": "../Middlewares/ST/touchgfx",
"AvailableColorDepths": [ 24 ],
"AvailableLCDs":
{
"24": "LCD24bpp"
},
"AvailableResolutions": [
{
"Width": 480,
"Height": 272
}
],
"PostGenerateTargetCommand": "touchgfx update_project",
"Family": "STM32H7",
"SubFamily": "STM32H745/755",
"Platform": "m7",
"ProjectFile": "../../1_H745_TGFX_Test.ioc",
"OptionalComponentsRoot": "../Middlewares/ST/touchgfx_components",
"OptionalComponents": [
]
},
"Version": "4.20.0"
}
I think it is a problem with relative locations of files.
please guide
2022-09-29 12:56 PM
Yes you have right , this CM7 dont work annd ST blame long time TGFX.
For now you can as master use steps:
your ok project opens and build in IDE
2022-09-30 09:49 AM
Thank You
I was able to compile the TouchGFX application correctly.
It is working well.