Hi, I have the following situation where in the same project I have code for different transceivers in order to avoid having multiple projects for different transceivers. If possible, I would like to automatically generate three different HEX file outputs for the different transceivers (a kind of HEX file output variations). We can implement a manual system where we would compile a single HEX file output each time based on the C preprocessor definition selected, but that would be time consuming.
Any idea how this can be done? So for example in my code I'd have some kind of preprocessor definition that for variation 1 it would compile certain methods and for variation 2 it would compile other certain methods. Then in my Output Files I would ideally get out_variation1.hex and out_variation2.hex for example.
Any idea how this can be done? So for example in my code I'd have some kind of preprocessor definition that for variation 1 it would compile certain methods and for variation 2 it would compile other certain methods. Then in my Output Files I would ideally get out_variation1.hex and out_variation2.hex for example.