This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Creating different targets of a project (uVision v.5.23.0.0)

Hello,

For my project I use uVision v.5.23.0.0; now I am willing to prepare two different targets using the same source files: one target for debug, with included the drivers for UART, and another one with UART-related stuff (and also other modules) removed, which is to be used to optimize the power consumption. I have successfully created two different targets, but I don't see a way to make them include different set of files: it turns out that all source files are common for the two targets. If I remove a file from a group, it is removed from the two targets. If I modify sdk_config.h modification reflects the two targets too - i.e. it is does not seem possible to set up different copies of the config file for each target. So my question is how to handle this situation? Is it possible to configure different set of files (and sdk_config.h, in particular) for each target?

Thanks 

Parents Reply Children
No Data
Related