2019-11-17 10:53 PM
hi,
i am trying to do project with STM32H743ZIT chip and STM32CUBEMX program to generate code.
there is no option for touchGFX of STM32H743ZIT in STM32CUBEMX
i made STM32H743ZIT code from STM32CUBEMX and touchGFX code from touchGFX designer.
can you explain how to integrate two project files step by step?
Solved! Go to Solution.
2019-11-17 11:31 PM
CubeMX in its current state is hard locked fo F4 and F7. We're working on a solution to remedy that.
It's a little difficult to tell you exactly what _you_ need to do, but generally, if you inspect the H7 Application Template we have from the designer you will see how to integrate the two "worlds" until CubeMX integration can be improved. Generally about the way the Application templates (non-cubemx) are structured
1) BoardConfiguration.cpp has two methods:
2) main.cpp
Check out the application template and let me know!
/Martin
2019-11-17 11:31 PM
CubeMX in its current state is hard locked fo F4 and F7. We're working on a solution to remedy that.
It's a little difficult to tell you exactly what _you_ need to do, but generally, if you inspect the H7 Application Template we have from the designer you will see how to integrate the two "worlds" until CubeMX integration can be improved. Generally about the way the Application templates (non-cubemx) are structured
1) BoardConfiguration.cpp has two methods:
2) main.cpp
Check out the application template and let me know!
/Martin
2019-11-18 03:33 PM
thank you for answer.
To check application template, i made simple project from TouchGFX Designer, and i pressed Generate code button.
i found functions that you said.
and i press button 'make'
there is errer -
so because of these errers, when i flash program, should i use ST-Link Utility?
AND i cannot understand how to integerate two project.
To integrate two projects, should i transfer files from project files that made from Cubemx to project files from TouchGFX Designer?
2019-11-18 11:50 PM
None (except maybe a few) of our projects have external flashloaders configured for IAR or Keil projects. It is only the target/Makefile that has the exact flash name embedded inside which it uses with ST-Link/CubeProgrammer to program a board.
On integration:
You should probably integrate your TouchGFX application into your CubeMX project because you'd most likely want to keep making changes in CubeMX.
/Martin