cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a ioc file as active project.

Taxara
Associate III

Hi all,

I've created a project in CubeMx and started developing using a P-nucleo STM32WB55 development board. Now we have a second board with the STM32WB55mmg module with different pinout. So i've created a second cubemx project and initialized all the pins and generated the code on the same location (so basically it overwrites the development board initialization and the application made will be maintained).

Now I have 2 ioc files, which both work fine when I generate from cubeMx. But from CubeIDE I can only open the first created. When trying to open the newer from CubeIDE it will give a popup with "Ioc file not set as active project" (Opening it using cubeMx just works fine)

Question:

Where can I set an ioc as active? And can I have 2 ioc files as active?

Kind regards,

Taxara

2 REPLIES 2
Cartu38 OpenDev
Lead II

Not possible. Rule of thumb is one .ioc per project.

So called active .ioc is the one named in sync. with project name.

By the way same if STM32CubeMX. As you have shared at a point you have overriden ​some material what is a bit weird ...

Thank you for your response. Its good to know that this is undesired and therefore also impossible.

The override was on purpose I wanted to have 2 boards running same firmware, so I had to change the pin definition and initialization which got generated from cubemx.

So solution will be

1) No longer support the older board or

2) Have 2 different projects and link the application firmware to it (using a git submodule or something).