![]() |
LPCOpen Platform for LPC112X microcontrollers
112X
LPCOpen Platform for the NXP LPC112X family of Microcontrollers
|
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.
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_LPC1125 definition
CHIP_LPC1125 must be defined for all code when building for the LPC1125 device. 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.