LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CHIP: LPC11xx Chip driver build time options

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 definition
All LPC11xx devices should add a unvalued CORE_M0 definition to the compilers argument list. Do not add this definition as part of sys_config.h.

CHIP_LPC110X definition
CHIP_LPC110X must be defined for all code when building for the LPC1102 and LPC1104 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC11XXLV definition
CHIP_LPC11XXLV must be defined for all code when building for the LPC1101LV, LPC1102LV, LPC1112LV, and LPC1114LV devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC11AXX definition
CHIP_LPC11AXX must be defined for all code when building for the LPC11A02, LPC11A04, LPC11A11, LPC11A12, LPC11A13, and LPC11A14 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC11CXX definition
CHIP_LPC11CXX must be defined for all code when building for the LPC1111, LPC1112, LPC1113, LPC1114, LPC11D14, LPC1115, LPC11C12, LPC11C13, LPC11C22, and LPC11C34 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC11EXX definition
CHIP_LPC11EXX must be defined for all code when building for the LPC11E11, LPC11E12, LPC11E13, LPC11E14, LPC11E36, LPC11E37 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

CHIP_LPC11UXX definition
CHIP_LPC11UXX must be defined for all code when building for the LPC11U12, LPC11U13, LPC11U14, LPC11U23, LPC11U24, LPC11U34, LPC11U35, LPC11U36, and LPC11U37 devices. This unvalued definition can be added to the compilers argument list or as part of sys_config.h.

Other 17xx/40xx driver specific build time options
CHIP: LPC11xx Clock Control driver options

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

Modules

 CHIP: LPC11xx Clock Control driver options