Skip to main content
Lead
August 10, 2020
Solved

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

  • August 10, 2020
  • 2 replies
  • 7139 views

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.

Best answer by KnarfB

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.

2 replies

KnarfB
KnarfBBest answer
Super User
August 10, 2020

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.

Senior
September 14, 2024

@KnarfB wrote:

Existing Debug/Run configurations must be renamed separtely.


 

What do you mean? And how you do that?

 

Thank you

DMårtAuthor
Lead
August 10, 2020

It works!

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