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:
152:9a67f0b066fc
Parent:
150:02e0a0aed4ec
Child:
167:e84263d55307
diff -r 5eaa88a5bcc7 -r 9a67f0b066fc cmsis/core_cm3.h
--- a/cmsis/core_cm3.h	Thu Nov 24 17:03:03 2016 +0000
+++ b/cmsis/core_cm3.h	Thu Dec 15 11:48:27 2016 +0000
@@ -1431,6 +1431,8 @@
 __STATIC_INLINE void __NVIC_DisableIRQ(IRQn_Type IRQn)
 {
   NVIC->ICER[(((uint32_t)(int32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)(int32_t)IRQn) & 0x1FUL));
+  __DSB();
+  __ISB();
 }