MOODSERIAL personal fork

Dependents:   rosserial_mbed_lib

Fork of MODSERIAL by Andy K

Revision:
26:e7c08c670ef4
Parent:
25:ae0408ebdd68
--- a/INIT.cpp	Tue Jan 08 18:01:03 2013 +0000
+++ b/INIT.cpp	Wed Apr 30 00:34:41 2014 +0000
@@ -37,6 +37,13 @@
 
     _base = LPC_USART;
     
+#elif defined MKL25Z4_H_
+    switch( _serial.index ) {
+        case 0: _base = UART0; break;
+        case 1: _base = UART1; break;
+        case 2: _base = UART2; break;
+        default: _base = NULL;      break;
+    }
 #else    
     switch( _serial.index ) {
         case 0: _base = LPC_UART0; break;