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:
85:e1a8e879a6a9
Parent:
13:0645d8841f51
--- a/common/rtc_time.c	Mon Feb 03 09:30:05 2014 +0000
+++ b/common/rtc_time.c	Fri Feb 07 18:00:11 2014 +0000
@@ -19,11 +19,15 @@
 #include "rtc_time.h"
 #include "us_ticker_api.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif 
 #if defined (__ICCARM__)
 time_t __time32(time_t *timer)
 #else
 time_t time(time_t *timer)
 #endif
+
 {
 #if DEVICE_RTC
     if (!(rtc_isenabled())) {
@@ -53,3 +57,7 @@
     t /= 1000000 / CLOCKS_PER_SEC; // convert to processor time
     return t;
 }
+
+#ifdef __cplusplus
+}
+#endif