Skip to main content
pk84
Associate III
November 4, 2022
Solved

rename STM32CubeIDE project

  • November 4, 2022
  • 2 replies
  • 3473 views

Hello,

How can I rename the project-name in STM32CubeIDE ?

If I right click on the project(name) and choose rename I get the following error, see attached screenshot.

Thank you

0693W00000WHSflQAH.jpg 

This topic has been closed for replies.
Best answer by Foued_KH

Hello @pk84​,

Edit the name in the .project file. By default, the name is the root path of the application, but can be changed.

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>new_name</name>
<comment/>
<projects>
</projects>

Best regards,

Foued

2 replies

Foued_KH
Foued_KHAnswer
ST Employee
November 4, 2022

Hello @pk84​,

Edit the name in the .project file. By default, the name is the root path of the application, but can be changed.

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>new_name</name>
<comment/>
<projects>
</projects>

Best regards,

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
pk84
pk84Author
Associate III
November 4, 2022

ok thanks, will all other files like .launch be renamed automatically? I think there are for sure some more files with the project name and reference to it?

Foued_KH
ST Employee
November 4, 2022

It's just necessary to change the name of the project and everything works fine :beaming_face_with_smiling_eyes:

Hope my answer helped you!

When your question is answered, please close this topic by choosing Select as Best.

This will help other users find that answer faster.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
pk84
pk84Author
Associate III
November 8, 2022

Ok that works, but just another, similar question:

Is it possible to change the name of the .launch file? And where can I change the names of the generated .elf/.hex./list/.map ... files?

Thank you