In this step you will learn how to start a project for a STM32F746-Disco board and how to run one of the TouchGFX example on the board.
Start a new project in TouchGFX Designer, by clicking File->New in the menu or CTRL-n on your keyboard.
Select the Animated Image example as UI Template (if it is not already selected). Click the Application Template section to select another Application Template. The default Application Template will only allow you to run on Windows.
Selecting an Application Template
Click on the "STM32F746G Discovery Kit" and click "Select".
Selecting the Discovery kit
You are now ready to create the project. You can change the application name if you like. Here we have changed it to MyAnimatedImageExample746. Click the blue "Create".
Creating the final project
The look of the project is similar to what we saw in the previous step. The only difference is that we now also have a "Run Target" button next to the "Run Simulator" button. When you press this button, the TouchGFX Designer compiles your project using the GNU ARM C-compiler and flashes the application to your target. This process takes up to a minute, depending on your computer speed.
Project is ready
The TouchGFX Designer will write "Flashing Done" in the bottom status bar, when flashing is completed. You should now see the application running on your board.
If you click the Browse code in the bottom right, TouchGFX Designer will open a file browser showing the directory where the new project is located. Navigating to "build\bin" you can see the following files:
The project's binary files
The "simulator.exe" file is the Windows simulator application.
The "target.hex" file is the STM32 application for your board. This is the file the TouchGFX Designer just programmed to your board.
You can manually flash your board using ST-Link Utility. Read more about that in the article How do I program STM32 based boards using ST-Link Utility.
You are now ready to learn more about TouchGFX and how to use the Designer to create your own projects. Go on to Tutorial 2.