LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Adding definitions to IAR EWARM toolchains

To add a new definition to a IAR project, open the project's option dialog by right-clicking on the project title in the Project browser and selecting Options.

iar_project_open.jpg

In the dialog, select the C/C++ compiler category and then the preprocessor tab in the dialog. Add new definitions in the Defined Symbols box. Definitions that have a value should have the value assigned with an '=' statement after the definition.

iar_project_settings.jpg