2023-12-23 09:01 AM
2023-12-23 09:36 AM - edited 2023-12-23 11:43 AM
Just try : in IDE , left side, click on a project (selected = blue) , right click on it and select > copy< .
then (on empty space i did) : right click and select > paste < . -> give mod. name for new copy ->
open here, right click on xx.ioc and select > rename < . -> give matching new mod. name for new copy
also rename xx debug + xx.launch
+ in debug configurations ..main page for new debug->
rename Name , Project, xx.elf
Then mod new xx.ioc , gen code, compile.... and TEST debug. :)
2024-01-06 06:00 PM
Hi,
I do it in the following way in CubeIDE:
1. File -> New ->STM32 project from an existing STM32CubeMX configuration file (ioc)
CubeIDE ask for ioc file and New Project name.
2. Copy includeFiles.c and main.c from OldProject/core/src to NewProject/core/src (overwriting main.c)
3. Copy includeFiles.h and main.h from OldProject/core/inc to NewProject/core/inc (overwriting main.h)