AnsweredAssumed Answered

Build configurations - defining a variable

Question asked by mikemorris on Nov 3, 2015
Latest reply on Nov 25, 2015 by mikemorris


Fairly new to CW and have encountered a problem that I am looking for some support on.


I have a project with 2 build configurations; one I use for release and one for debugging.

I want to be able to set a variable to a particular value for each configuration.


eg. uc_DebugMode == 1 when running the debug config.


Is there a way to do this in CW10.6 using a Kinetis product?


I have tried to use the defined macros in arm compiler -> input but get the following when compiling:

Specified file 'uc_DebugMode' not found.


Any ideas?