| 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: LPC13xx Chip driver build time options
LPC13xx 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_M3 definition
All LPC13xx devices should add a unvalued CORE_M3 definition to the compilers argument list. Do not add this definition as part of sys_config.h.

CHIP_LPC1343 definition
CHIP_LPC1343 must be defined for all code when building for the LPC1311, LPC1313, LPC1342, and LPC1343 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC1347 definition
CHIP_LPC1347 must be defined for all code when building for the LPC1315, LPC1316, LPC1317, LPC1345, LPC1346, and LPC1347 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC1300L definition
CHIP_LPC1300L is an optional definition that must only be defined when building for the parts LPC1311/01 and LPC1313/01 devices. This must be defined in addition to the CHIP_LPC1343 definition. It enables special build-time options for those devices.

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

## Modules
| CHIP: LPC13xx Clock Control driver options