2022-04-06 10:55 PM
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
2022-04-06 11:29 PM
Project Properties > C/C++ Build > Settings > Build Artifact > Artifact Name:
2022-04-06 11:39 PM
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
2022-04-06 11:54 PM
Sorry, no idea how that could be done.
KnarfB
2022-04-08 02:47 PM
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.
2022-04-10 11:01 PM
Hi Pavel,
Thank you for your help, I will check if this fit our requirements.
Best regards