Compiler Switch/Macro for Multiple Targets

29 Aug 2011

Does the mbed complier define any particular macro as a command line argument to armcc (e.g. -DMBED) when run on the source files in a project? I have one code base that I would like to compile for multiple targets, and I need some way to automate the process of determining when I'm compiling for the mbed.

Thanks, Kyle