ads1115 only
Fork of mbed by
Diff: TARGET_LPC1549/TARGET_NXP/TARGET_LPC15XX/device.h
- Revision:
- 122:f9eeca106725
- Parent:
- 90:cb3d968589d8
diff -r 6c34061e7c34 -r f9eeca106725 TARGET_LPC1549/TARGET_NXP/TARGET_LPC15XX/device.h --- a/TARGET_LPC1549/TARGET_NXP/TARGET_LPC15XX/device.h Wed May 25 16:44:06 2016 +0100 +++ b/TARGET_LPC1549/TARGET_NXP/TARGET_LPC15XX/device.h Thu Jul 07 14:34:11 2016 +0100 @@ -1,3 +1,5 @@ +// The 'features' section in 'target.json' is now used to create the device's hardware preprocessor switches. +// Check the 'features' section of the target description in 'targets.json' for more details. /* mbed Microcontroller Library * Copyright (c) 2006-2014 ARM Limited * @@ -16,42 +18,20 @@ #ifndef MBED_DEVICE_H #define MBED_DEVICE_H -#define DEVICE_PORTIN 0 -#define DEVICE_PORTOUT 0 -#define DEVICE_PORTINOUT 0 -#define DEVICE_INTERRUPTIN 1 -#define DEVICE_ANALOGIN 1 -#define DEVICE_ANALOGOUT 1 -#define DEVICE_SERIAL 1 -#define DEVICE_SERIAL_FC 1 + -#define DEVICE_I2C 1 -#define DEVICE_I2CSLAVE 0 -#define DEVICE_SPI 1 -#define DEVICE_SPISLAVE 1 -#define DEVICE_CAN 1 -#define DEVICE_RTC 1 -#define DEVICE_ETHERNET 0 -#define DEVICE_PWMOUT 1 -#define DEVICE_SEMIHOST 0 -#define DEVICE_LOCALFILESYSTEM 0 -#define DEVICE_SLEEP 0 -#define DEVICE_DEBUG_AWARENESS 0 -#define DEVICE_STDIO_MESSAGES 0 - -#define DEVICE_ERROR_RED 0 #include "objects.h"