Skip to content

Part 5: TouchGFX Designer

Kris Petrič edited this page Sep 19, 2024 · 10 revisions

Running simulator

To avoid having to flash the memory each time we compile the application, which is slow and wears down embedded flash, we can use the simulator provided by TouchGFX Designer. Click the middle button to open it.

Screenshot 2024-09-19 130412

You can also use the simulator in Visual Studio and use its debugging capabilites, which I found very convenient. Open the Visual Studio project located in src\stm32\KrisRaycaster\TouchGFX\simulator\msvs.

Flashing to memory

Screenshot 2024-09-19 130412

Press the rightmost button to flash program to embedded memory. If you have a different board than mine, you will have to edit build settings in TouchGFX Designer. I recommend you copy build settings from one of the example projects provided by TouchGFX, which will be auto-generated to work on your board. Atherwise you can tailor the defaults to your needs.

Clone this wiki locally