mbed library with additional peripherals for ST F401 board

Fork of mbed-src by mbed official

This mbed LIB has additional peripherals for ST F401 board

  • UART2 : PA_3 rx, PA_2 tx
  • UART3 : PC_7 rx, PC_6 tx
  • I2C2 : PB_3 SDA, PB_10 SCL
  • I2C3 : PB_4 SDA, PA_8 SCL
Revision:
19:398f4c622e1b
Parent:
13:0645d8841f51
Child:
64:7b352733b00a
--- a/common/pinmap_common.c	Mon Aug 12 13:49:01 2013 +0300
+++ b/common/pinmap_common.c	Mon Aug 19 18:17:02 2013 +0300
@@ -45,7 +45,7 @@
 }
 
 uint32_t pinmap_peripheral(PinName pin, const PinMap* map) {
-    if (pin == (uint32_t)NC)
+    if (pin == (PinName)NC)
         return (uint32_t)NC;
 
     while (map->pin != NC) {