mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Revision:
274:6937b19af361
Parent:
243:1b2bee05fe98
diff -r 92da1fd309d2 -r 6937b19af361 targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c	Wed Aug 06 07:45:07 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/serial_api.c	Wed Aug 06 08:15:07 2014 +0100
@@ -21,26 +21,13 @@
 #include "serial_api.h"
 #include "cmsis.h"
 #include "pinmap.h"
+#include "PeripheralPins.h" // For the Peripheral to Pin Definitions found in the individual Target's Platform
 
 /******************************************************************************
  * INITIALIZATION
  ******************************************************************************/
 #define UART_NUM    1
 
-static const PinMap PinMap_UART_TX[] = {
-    {P0_19, UART_0, 1},
-    {P1_13, UART_0, 3},
-    {P1_27, UART_0, 2},
-    { NC  , NC    , 0}
-};
-
-static const PinMap PinMap_UART_RX[] = {
-    {P0_18, UART_0, 1},
-    {P1_14, UART_0, 3},
-    {P1_26, UART_0, 2},
-    {NC   , NC    , 0}
-};
-
 static uint32_t serial_irq_ids[UART_NUM] = {0};
 static uart_irq_handler irq_handler;