mbed SDK library sources

Fork of mbed-src by mbed official

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Revision:
50:b08ceb75017d
Parent:
13:0645d8841f51
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PeripheralNames.h	Thu Nov 21 16:45:05 2013 +0000
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/PeripheralNames.h	Tue Nov 26 15:30:05 2013 +0000
@@ -64,6 +64,22 @@
 #define STDIO_UART_RX     USBRX
 #define STDIO_UART        UART_0
 
+// Default peripherals
+#define MBED_SPI0         p5, p6, p7, p8
+#define MBED_SPI1         p11, p12, p13, p14
+
+#define MBED_UART0        p9, p10
+#define MBED_UARTUSB      USBTX, USBRX
+
+#define MBED_I2C0         p28, p27
+
+#define MBED_ANALOGIN0    p15
+#define MBED_ANALOGIN1    p16
+#define MBED_ANALOGIN2    p17
+#define MBED_ANALOGIN3    p18
+#define MBED_ANALOGIN4    p19
+#define MBED_ANALOGIN5    p20
+
 #ifdef __cplusplus
 }
 #endif