Skip to main content
Associate II
Feb 21, 2025 8:04 AM UTC
Solved

Why can't I create more than one TouchGFX projects connected to STM32CubeIDE?

I'm new to STM32, currently using STM32F746G_DISCO I need to learn TouchGFX and CubeIDE, however, when I try to launch the .cproject file I just meet the message

"A project 'STM32F746G_DISCO' already exist into the workspace:
This C:\\TouchGFXProjects\Projects\MyApplication\MyApplication\STM32CubeIDE
Their C:\\TouchGFXProjects\Projects\MyApplication\MyApplication-1\STM32CubeIDE

Would you like to remove it and import the new version?"

Pressing no aborts the import and I cannot work on it, pressing yes will delete my old project or overwrite it, I don't know, but why can't I work on two TouchGFX projects at once on CubeIDE, at least changing the TouchGFX import file name to something else would do it, right? Surely there is a sensible workaround to this, right?

This topic has been closed for replies.
SimecrafterBest answer
Associate II
Feb 24, 2025 10:26 AM UTC

Hello people, thanks for the welcome!

I have managed to fix this issue by opening the "project" file with notepad and changing the name on the third line!

3 replies

mƎALLEm
ST Technical Moderator
Feb 21, 2025 10:21 AM UTC

Hello @Simecrafter and welcome to the community,

That's because the project name is the same: "STM32F746G_DISCO"  for both workspaces.

Each time you switch from a project to another, remove the previous one from the CubeIDE workspace (don't remove it from your hard drive) and open the new one.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
GaetanGodart
ST Employee
Feb 21, 2025 12:49 PM UTC

Hello @Simecrafter ,

 

As mƎALLEm said, you can just "delete" the previous project.
Just make sure to NOT check the square saying "delete from hard drive", this way, it just removes it from the workspace.

 

Also, you could change the name of the STM32CubeIDE project to avoid conflicts.
Here is a video about how to do it as well as a thread about it and another thread about it .

 

Regards,

Gaetan GodartSoftware engineer at ST (TouchGFX)
SimecrafterAuthorBest answer
Associate II
Feb 24, 2025 10:26 AM UTC

Hello people, thanks for the welcome!

I have managed to fix this issue by opening the "project" file with notepad and changing the name on the third line!