跳转到主要内容

使能TouchGFX Generator

After having installed TouchGFX Generator in STM32CubeMX, it can be enabled in your project. Users have access to added functionality from X-CUBE's packs by pressing the "Select Components" button, or by using the shortcut Alt + o按钮 in the project menu of STM32CubeMX.

选择STM32CubeMX中的附加软件

下图显示了项目中如何使能TouchGFX Generator:

使能TouchGFX Generator

If enabling TouchGFX for a Dual-Core MCU, be sure to enable it for the correct context. TouchGFX can only be enabled for a single context at a time:

在双核心芯片上使用TouchGFX Generator

Having enabled TouchGFX Generator in the project should make it visible in the "Categories" menu on the left side of the project menu under Middleware and Software Packs, where it can be enabled:

TouchGFX Generator location in STM32CubeMX project

To finally enable TouchGFX Generator, click on X-CUBE-TOUCHGFX and check the Graphics Application option in the right pane. The UI view of TouchGFX Generator should be visible:

STM32CubeMX项目中启用了TouchGFX Generator