Mark Butcher

Adding pre-processor defines to CW 10.1 Coldfire project

Discussion created by Mark Butcher on Mar 13, 2011
Latest reply on Mar 13, 2011 by Mark Butcher

Hi All


I have used CW10.1 with Kinetis and am now trying to use it with Coldfire.

The problem that I have is that I need to add a pre-processor define to the project; this I can do with Kinetis by adding it under "ARM Compiler -> Input -> Defined Macros".

However when configured for Coldfire the "Coldfire compiler -> Input" contains only user paths and not defines.


How can this be done? [as reference, using CW 7.2 this was done in "Language settings -> C/C++ Preprocessor - Prefix text and then #define xxxx]