Welcome to the official documentation of TouchGFX!
If you are new to this documentation and/or TouchGFX, we recommend that you read on to get an
overview of what this documentation has to offer. The table of contents in the sidebar should let you
easily access the documentation for your topic of interest. You can also use the search function in the
top right corner.
About this documentation
The main documentation for the site is organized into the following sections:
Introduction - read surface-level information on TouchGFX and installation guide.
Basic Concepts - introduction to key graphics concepts.
Development - how to develop a TouchGFX application including, structure, workflow and tools.
Tutorials - a collection of TouchGFX tutorials.
The TouchGFX documentation is targeting software developers with a basic skill-set within C++ and
embedded GUI development on STM32. Newcomers to Embedded GUI Development are supported in
the section Basic Concepts, while step by step guides and tutorials support everyone towards a
smooth learning in TouchGFX development as well.
We would really like to improve this documentation in any way possible. If you don’t understand
something, or cannot find what you are looking for in the docs, help us make the documentation better
by letting us know in the forum!
What is TouchGFX?
TouchGFX is delivered as one X-Cube package the X-Cube-TouchGFX.
With this you have all you need to do a full implementation of your GUI application for STM32 based
hardware. TouchGFX consists of three main parts - two tools and one framework.
TouchGFX Designer: An easy-to-use GUI builder in TouchGFX that lets you create the visual
appearance of your TouchGFX application.
TouchGFX Generator: A CubeMX plugin where the user can configure and generate a custom
TouchGFX Abstraction Layer (AL) for their STM32-based hardware.
TouchGFX Engine: The TouchGFX C++ framework that drives the UI application. Handles screen
updates, user events and timing. The advanced TouchGFX technology is optimized for STM32
microcontrollers, giving you maximum performance with minimum CPU load and memory usage.
TouchGFX is distributed as an X-CUBE-TOUCHGFX zip file which has the following components inside:
TouchGFX Designer - Build a UI through a Windows-based GUI Builder
TouchGFX Generator - Create a custom TouchGFX HAL through CubeMX
TouchGFX Engine - The TouchGFX C++ framework that drives the UI application
Prototyping on STM32 Evaluation kits
If your intention is to simply try TouchGFX Designer and perhaps do some prototyping on STM32
Evaluation kits, refer to the section Installing TouchGFX Designer.
Installing TouchGFX Designer
Download X-CUBE-TOUCHGFX from the ST.com official website to anywhere on your hard drive and
Downloading X-CUBE-TOUCHGFX from st.com
Inside the extracted folder, you will find the TouchGFX .msi installer in the following path:
Double-clicking the .msi file will bring up the installer. Follow the instructions to complete the
Installing TouchGFX Designer
You need the following tools to be able to flash your board directly from within TouchGFX Designer:
STM32 ST-LINK Utility
After downloading STM32CubeProgrammer from STM32CubeProgrammer download location,
uncompress the downloaded .zip file and launch the .exe installer file. Then Follow the
instructions to complete the installation process.
2、现有需求： 编写一个方法检查数字（整数、小数）范围是否覆盖了全部数轴、并且没有重叠： 为每个符号定义一个数值，2范围 3> 4< 5>= 6<= 7!= 8= 输入(3,5)表示>5，输入(2,(5,10])表示范围(5,10]，输入(7,5)表示 !=5 例如 1、输入(8,5) (7,5) 输出OK 2、输入(4,5) (8,5) (3,5) 输出OK 3、输入(4,5) (3,5) 输出ERROR 4、输入(4,5) (2,[5,10)) (8,10) (3,10) 输出OK 5、输入(6,5) (2,[5,10)) (8,10) (3,10) 输出ERROR 6、输入(4,5) (2,[5,10]) (2,[6,8]) (3,10) 输出ERROR 设计一组输入用例，测试该方法是否正确，并描述一下设计思路
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额