LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPCUSBLIB library requires build-time definitions

LPCUSBLIB library requires build-time definitions
The LPCUSBLIB library requires additional definitions that control how the library is built. These additional definitions should be added to the compilers definition list when building USBLIB.

LPC11UXX family devices
USB_DEVICE_ONLY must be defined for all devices.
"__LPC11U1X__" must be defined when using the LPC11U14. All other LPC11Uxx devices should use "__LPC11U2X_3X__".

LPC1343 family devices
These devices are not supported in USBLIB.

LPC1347 family devices
USB_DEVICE_ONLY and "__LPC1347__" must be defined for all devices.

LPC17XX/40XX family devices
USB_DEVICE_ONLY should be defined when using device mode support.
USB_HOST_ONLY should be defined when using host mode support.
"__LPC175X_6X__" must be defined when using devices in the LPC175x/6x family.
"__LPC177X_8X__" must be defined when using devices in the LPC177x/8x family.
"__LPC407X_8X__" must be defined when using devices in the LPC407x/8x family.

LPC18XX/43XX family devices
USB_DEVICE_ONLY should be defined when using device mode support.
USB_HOST_ONLY should be defined when using host mode support.
"__LPC18XX__" must be defined when using devices in the LPC18xx family.
"__LPC43XX__" must be defined when using devices in the LPC43xx family (all cores).