Rename projects ..Does that work ?
Hello everyone,
I tried the following steps to succesfuly rename a project:
1. Copy and paste the folder with the project in the desired location.
2. Change the name of the folder to the new name of the project (optional).
3. Delete the folders “Debug” and “Release” if they exist inside the project folder.
4. If you are using Cube rename the Cube File (.ioc) to the new name of the project. This is highly important. Otherwise cube will not be able to modify the new project.
5. Rename the CFG File which has the format “ProjectName Run”. Only replace the “ProjectName” with the new name. Keep the space character between both words.
6. Open the CPROJECT-File (usually has not a name assigned) with a text editor. Replace all instances of the old name of the project with the new name. Save and close the file.
7. Open the PROJECT-File (usually has not a name assigned) with a text editor. Replace all instances of the old name of the project with the new name. Save and close the file.
8. Open the project and compile it.
9. Flash the microcontroller.
10. If any error appears try by making a full build of the project: right click to the name of the project in the project explorer, then “Build Configurations” and finally “Build All”. Try flashing again.
It worked for me. I hope for you too!
Best regards,
Diego Ballen