| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules
CHIP: LPC18xx/43xx Chip driver build time options
LPC18xx/43xx chip specific drivers

## Detailed Description

Some chip drivers require build-time configuration to enable and disable specific platform features. A build-time option is configured by the use of a definition passed to the compiler during the build process or by adding the definition to the sys_config.h file.

How to add definitions using the compiler argument list: Adding platform definitions using the compiler
How to add definitions using sys_config.h: Adding platform definitions using sys_config.h

CORE_M0, CORE_M3, and CORE_M4 definitions
All LPC18xx devices should add a unvalued CORE_M3 definition to the compilers argument list. All LPC43xx devices (M4 core only) should add a unvalued CORE_M4 definition to the compilers argument list. For the M0 core of the LPC43xx devices, a CORE_M0 definition should be added to the compilers argument list. Do not add this definition as part of sys_config.h.

CHIP_LPC18XX definition
CHIP_LPC18XX must be defined for all code when building for the LPC18XX family of devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC43XX definition
CHIP_LPC43XX must be defined for all code when building for the LPC43XX family of devices for both the M0 and M4 cores. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

Common platform build time options
Common platform enables can be found at Common build definitions on all platforms.

## Modules
| CHIP: LPC18xx/43xx Clock Driver driver options
| CHIP: LPC18xx/43xx Ethernet driver build options