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:
150:02e0a0aed4ec
Parent:
149:156823d33999
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/macHw_map.h	Fri Oct 28 11:17:30 2016 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/macHw_map.h	Tue Nov 08 17:45:16 2016 +0000
@@ -131,9 +131,7 @@
             __O uint32_t FS:1;
             __O uint32_t FP:1;
             __O uint32_t FMD:1;
-#ifdef REVD
             __I uint32_t PC:1;
-#endif /* REVD */
         } BITS;
         __O uint32_t WORD;
     } CLEAR_IRQ;                                            /**< 0x40014030 */
@@ -145,9 +143,7 @@
             __IO uint32_t FS:1;
             __IO uint32_t FP:1;
             __IO uint32_t FM:1;
-#ifdef REVD
             __I uint32_t PC:1;
-#endif /* REVD */
         } BITS;
         __IO uint32_t WORD;
     } MASK_IRQ;                                             /**< 0x40014034 */
@@ -159,9 +155,7 @@
             __I uint32_t FS:1;
             __I uint32_t FP:1;
             __I uint32_t FM:1;
-#ifdef REVD
             __I uint32_t PC:1;
-#endif /* REVD */
         } BITS;
         __I uint32_t WORD;
     } IRQ_STATUS;                                           /**< 0x40014038 */
@@ -202,9 +196,6 @@
         __IO uint32_t WORD;
     } SLOT_OFFSET;                                          /**< 0x40014064 */
     __I uint32_t TIME_STAMP;                                /**< 0x40014068 */
-#ifdef REVB
-    __O uint32_t PAD5;                                      /**< 0x4001406C */
-#endif /* REVB */
     union {
         struct {
             __IO uint32_t CRD_SHORT_ADDRESS:16;
@@ -214,17 +205,10 @@
             __IO uint32_t PAN_COORD_ADDR_S:1;
         } BITS;
         __IO uint32_t WORD;
-#ifdef REVB
-    } CRD_SHORT_ADDR;                                   /**< 0x40014070 */
-    __IO uint32_t CRD_LONG_ADDR_HI;                     /**< 0x40014074 */
-    __IO uint32_t CRD_LONG_ADDR_LO;                     /**< 0x40014078 */
-#endif /* REVB */
-#ifdef REVD
 } CRD_SHORT_ADDR;                                       /**< 0x4001406C */
 __IO uint32_t CRD_LONG_ADDR_HI;                         /**< 0x40014070 */
 __IO uint32_t CRD_LONG_ADDR_LO;                         /**< 0x40014074 */
 __O uint32_t PAD5;                                      /**< 0x40014078 */
-#endif /* REVD */
 __O uint32_t PAD9;                                      /**< 0x4001407C */
 __O uint32_t PAD10;                                     /**< 0x40014080 */
 __O uint32_t PAD11;                                     /**< 0x40014084 */