cancel
Showing results for 
Search instead for 
Did you mean: 

Build configurations setup

Angel1
Associate II

Hi,

I am using STM32CubeIDE to develop our project over a stm32l4x controller. I have different build configurations, and I would like to know if it is possible to define a different output file name for each build configuration.

Best regards and thank you

Angel

5 REPLIES 5
KnarfB
Principal III

Project Properties > C/C++ Build > Settings > Build Artifact > Artifact Name:

Angel1
Associate II

Hi,

Great, thank you for your quick answer.

I have one more question: I have also a "Pinout & Configuration" that is unique for all build configurations. Is it possible to assign different ".ioc" definitions for each build configuration.

Best regards and thank you

Angel

Sorry, no idea how that could be done.

KnarfB

Can be done, but only manually.

1. define a distinct preprocessor symbol in each configuration and use #ifdef's.

2. Generate a set of files from each .ioc per config, then in each configuration exclude from build files of other configurations.

It looks pretty messy, but works.

Angel1
Associate II

Hi Pavel,

Thank you for your help, I will check if this fit our requirements.

Best regards