2022-02-21 10:56 PM
Hello,
I changed cubeIDE project structure, put files to folders to make it look cleaner, then changed project location. I managed to fix all linker errors etc. code builds and flashes, but the problem I encounter is that when I try to open cubeMx file I get error.
Is there a way to make .ioc file active project file? It is the same file just in other location, which was linked in paths.
Solved! Go to Solution.
2022-02-25 02:43 AM
Hi,
If you use the "STM32Cube" project type inside CubeIDE, then CubeMX will require that the project name is not changed, and that the project structure is not modified in any significant way.
Yes, you can add new folders. But you cannot re-arrange any folders/files which are managed by CubeMX.
Moving or renaming the ioc-file is not allowed, this will break the project.
I think you have two options:
I tend to use the STM32Cube project as a playground to test various peripheral configurations and generate the code.
Then I copy files and peripheral initialization code from the STM32Cube project into a CDT project. I consider the CDT project to be my real development/production project.
2022-02-25 02:43 AM
Hi,
If you use the "STM32Cube" project type inside CubeIDE, then CubeMX will require that the project name is not changed, and that the project structure is not modified in any significant way.
Yes, you can add new folders. But you cannot re-arrange any folders/files which are managed by CubeMX.
Moving or renaming the ioc-file is not allowed, this will break the project.
I think you have two options:
I tend to use the STM32Cube project as a playground to test various peripheral configurations and generate the code.
Then I copy files and peripheral initialization code from the STM32Cube project into a CDT project. I consider the CDT project to be my real development/production project.