cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX and "Project Name"

RGünt.1
Associate II

Hello,
How can I transfer the configuration of an existing project to a new project?
Unfortunately, the Project Manager does not allow a name change.

1 ACCEPTED SOLUTION

Accepted Solutions
Ghofrane GSOURI
ST Employee

Hello @RGünt.1 

First let me thank you for posting.

In order to rename you rename you project please follow those steps:

  1. Open Your Existing Project:
    • Launch STM32CubeMX and open the project you wish to rename.
  2. Use the 'Save Project As' Option:
    • Navigate to the File menu and select Save Project As....
    • In the dialog that appears, enter your desired new project name. This action will create a new .ioc file with the new name .
  3. Regenerate the Project:
    • After saving the project under a new name, you need to regenerate the project files. Click on the Project menu, then select Generate Code. This step ensures that any references to the old project name in generated files are updated accordingly

View solution in original post

1 REPLY 1
Ghofrane GSOURI
ST Employee

Hello @RGünt.1 

First let me thank you for posting.

In order to rename you rename you project please follow those steps:

  1. Open Your Existing Project:
    • Launch STM32CubeMX and open the project you wish to rename.
  2. Use the 'Save Project As' Option:
    • Navigate to the File menu and select Save Project As....
    • In the dialog that appears, enter your desired new project name. This action will create a new .ioc file with the new name .
  3. Regenerate the Project:
    • After saving the project under a new name, you need to regenerate the project files. Click on the Project menu, then select Generate Code. This step ensures that any references to the old project name in generated files are updated accordingly