mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c

Dependents:   Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay

Fork of mbed-dev by mbed official

Revision:
163:74e0ce7f98e8
Parent:
160:d5399cc887bb
Child:
167:e84263d55307
--- a/platform/mbed_retarget.cpp	Wed Apr 12 16:21:43 2017 +0100
+++ b/platform/mbed_retarget.cpp	Fri Apr 28 14:04:18 2017 +0100
@@ -120,6 +120,7 @@
 #endif
 }
 
+#if MBED_CONF_FILESYSTEM_PRESENT
 static inline int openmode_to_posix(int openmode) {
     int posix = openmode;
 #ifdef __ARMCC_VERSION
@@ -154,6 +155,7 @@
 #endif
     return posix;
 }
+#endif
 
 extern "C" WEAK void mbed_sdk_init(void);
 extern "C" WEAK void mbed_sdk_init(void) {