touchGFX 初探

touchGFX是一套在MCU上运行的GUI方案。

本文使用的平台是mt2523,M4内核。

1,安装TouchGFX-4.8.0.msi
2,BSP包解压到 c:\touchgfx\4.8.0\
3,新建工程:
打开
touchGFX 初探
选择mcu和设置分辨率
touchGFX 初探
新增文字控件
touchGFX 初探
增加图片资源
touchGFX 初探
注意图片名称只能为大小写字母。数字、中文、其他符号都不可以。
点击图片直接加入到界面。
touchGFX 初探
designer有类似ps里面图层的概念。
拖动控件顺序,使文字在图片之上
touchGFX 初探
完成之后点击
touchGFX 初探
运行模拟器
touchGFX 初探

touchGFX基本环境搭建完成,设计的gui可以在模拟器运行,下一步是实现mcu上运行。