mbed(SerialHalfDuplex入り)

Fork of mbed by mbed official

Revision:
81:7d30d6019079
Parent:
77:869cf507173a
--- a/TARGET_NUCLEO_L152RE/PeripheralNames.h	Fri Feb 21 12:21:39 2014 +0000
+++ b/TARGET_NUCLEO_L152RE/PeripheralNames.h	Wed Mar 19 18:28:32 2014 +0000
@@ -47,7 +47,10 @@
 
 typedef enum {
     UART_1 = (int)USART1_BASE,  
-    UART_2 = (int)USART2_BASE
+    UART_2 = (int)USART2_BASE,
+    UART_3 = (int)USART3_BASE,
+    UART_4 = (int)UART4_BASE,
+    UART_5 = (int)UART5_BASE
 } UARTName;
 
 #define STDIO_UART_TX  PA_2
@@ -56,7 +59,8 @@
 
 typedef enum {
     SPI_1 = (int)SPI1_BASE,
-    SPI_2 = (int)SPI2_BASE
+    SPI_2 = (int)SPI2_BASE,
+    SPI_3 = (int)SPI3_BASE
 } SPIName;
 
 typedef enum {