cancel
Showing results for 
Search instead for 
Did you mean: 

Different build configurations for different ioc file

kraman2024
Associate II

Hi,

I am trying to find a solution to support different build configurations for the same MCU but different revision of PCB builds. PCB revisions could happen because of reassignment of pins and peripherals. I am using standalone version of CubeMX to generate code. So, I will end up with two different .ioc files for each revision and when I generate code, 2 separate project files are generated.

Is there a way to have a single project, but 2 different build configurations for each ioc file? Looks like CubeMX doesn't support this, but are there any tricks as a workaround ?

3 REPLIES 3
STTwo-32
ST Employee

Hello @kraman2024 

Could you please give more details about what you are looking for (an example of a use case Will really do the job).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

I want to  maintain 2 different ioc files for 2 different hardware revisions of a custom board. I want a single project either EWARM or Cube IDE project to support these 2 revisions of the board as separate build configurations. Is this possible?

A single project should be based on a single .ioc file. It is not possible to have a project based on a new .ioc file each Time.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.