2026-04-16 11:27 AM
I created the project in TouchGFX 4.26.0 Designer, modified pins with CubeMX_17, and attempted to debug the project in STM32CubeIDE 2.1.1.
The example I used was Flex Button Example.
Kit is STM32U5G9J-DK2.
When I attempt to set up a debug configuration in CubeIDE, I am unable to select a project. This project compiles and works when I flash it to my kit through TouchGFX. Could there something wrong with my project structure? Thank you.
2026-04-16 12:42 PM
Try selecting STM32 C/C++ Application and click New Launch Configuration icon. Or you can right click and select New Configuration. It should automatically filled out the text box with correct Project name and the ELF file. If that works, you can delete the other MyApplication_4 config.
2026-04-17 3:03 AM
Hello,
How did you create the project? Usually, there would be an existing CubeIDE configuration that has also already been set up with a launch configuration in the STM32CubeIDE subfolder of the project folder. You should use that, since TouchGFX updates the project configuration of that project with its generated files, unless you have selected a different IDE in CubeMX.
I guess the reason you cannot select the project may be that the project has not been built.