cancel
Showing results for 
Search instead for 
Did you mean: 

How do I rename (proper way) an STM32 project?

DMårt
Lead

How do I rename (proper way) an STM32 project?

If I press F2 I can rename the name of the project, but the project folder still have the same name. If I change the name of the folder, then I get errors.

Why?

Is there a proper way to rename a project?

I'm using STM32CubeIDE 1.3.0.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer
1 ACCEPTED SOLUTION

Accepted Solutions
KnarfB
Principal III

Don't know if that's the proper way, but if you rename (F2) in STM32cubeIDE first, delete the project form workspace (but not from file system ;-), rename the folder and open the project in the renamed folder again, it will be re-added to the workspace and you have completed the task, i.e. no more errors. Existing Debug/Run configurations must be renamed separtely.

View solution in original post

3 REPLIES 3
KnarfB
Principal III

Don't know if that's the proper way, but if you rename (F2) in STM32cubeIDE first, delete the project form workspace (but not from file system ;-), rename the folder and open the project in the renamed folder again, it will be re-added to the workspace and you have completed the task, i.e. no more errors. Existing Debug/Run configurations must be renamed separtely.

DMårt
Lead

It works!

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer

@KnarfB wrote:

Existing Debug/Run configurations must be renamed separtely.


 

What do you mean? And how you do that?

 

Thank you