STM32CubeMX different configurations for the same project
Imagine that two .ioc files exist for the same device, with identical peripherals defined but different settings/pin assignments.
If the user code written for device is not affected by the settings change (for example, the pin assignemnt is different for an SPI interface), is it somehow possible to indicate which codebase is to be used when building the application? For example, a CMake option for pointing to the generated code base on a setting, or something similar?
I am looking into maintaining a codebase across different generation of hardware so using such an option would be extremely useful.
