diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_key_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_key_regs.h
index 116a009fc0..148d6d6e3b 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_key_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_key_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_regs.h
index 470a544cdb..cd154f3622 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/aes_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/crc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/crc_regs.h
index a404896e8c..31a19bbdb0 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/crc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/crc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/dma_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/dma_regs.h
index f234e02771..f467b043ea 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/dma_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/dma_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -103,7 +100,7 @@ typedef struct {
typedef struct {
__IO uint32_t inten; /**< \b 0x000: DMA INTEN Register */
__I uint32_t intfl; /**< \b 0x004: DMA INTFL Register */
- __R uint32_t rsv_0x8_0xff[62];
+ __I uint32_t rsv_0x8_0xff[62];
__IO mxc_dma_ch_regs_t ch[8]; /**< \b 0x100: DMA CH Register */
} mxc_dma_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/ecc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/ecc_regs.h
index f1f4218c8c..ba9c390750 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/ecc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/ecc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -86,7 +83,7 @@ extern "C" {
* Structure type to access the ECC Registers.
*/
typedef struct {
- __R uint32_t rsv_0x0_0x7[2];
+ __I uint32_t rsv_0x0_0x7[2];
__IO uint32_t en; /**< \b 0x08: ECC EN Register */
} mxc_ecc_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/emcc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/emcc_regs.h
index bbf8c3f3af..8e170a9c5b 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/emcc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/emcc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -88,9 +85,9 @@ extern "C" {
typedef struct {
__I uint32_t cache_id; /**< \b 0x0000: EMCC CACHE_ID Register */
__I uint32_t memcfg; /**< \b 0x0004: EMCC MEMCFG Register */
- __R uint32_t rsv_0x8_0xff[62];
+ __I uint32_t rsv_0x8_0xff[62];
__IO uint32_t cache_ctrl; /**< \b 0x0100: EMCC CACHE_CTRL Register */
- __R uint32_t rsv_0x104_0x6ff[383];
+ __I uint32_t rsv_0x104_0x6ff[383];
__IO uint32_t invalidate; /**< \b 0x0700: EMCC INVALIDATE Register */
} mxc_emcc_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/fcr_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/fcr_regs.h
index ddc2561e88..84c31ba35d 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/fcr_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/fcr_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/flc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/flc_regs.h
index 67f79cccb3..9617e87ecc 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/flc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/flc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -89,19 +86,19 @@ typedef struct {
__IO uint32_t addr; /**< \b 0x00: FLC ADDR Register */
__IO uint32_t clkdiv; /**< \b 0x04: FLC CLKDIV Register */
__IO uint32_t ctrl; /**< \b 0x08: FLC CTRL Register */
- __R uint32_t rsv_0xc_0x23[6];
+ __I uint32_t rsv_0xc_0x23[6];
__IO uint32_t intr; /**< \b 0x024: FLC INTR Register */
__IO uint32_t eccdata; /**< \b 0x028: FLC ECCDATA Register */
- __R uint32_t rsv_0x2c;
+ __I uint32_t rsv_0x2c;
__IO uint32_t data[4]; /**< \b 0x30: FLC DATA Register */
__O uint32_t actrl; /**< \b 0x40: FLC ACTRL Register */
- __R uint32_t rsv_0x44_0x7f[15];
+ __I uint32_t rsv_0x44_0x7f[15];
__IO uint32_t welr0; /**< \b 0x80: FLC WELR0 Register */
- __R uint32_t rsv_0x84;
+ __I uint32_t rsv_0x84;
__IO uint32_t welr1; /**< \b 0x88: FLC WELR1 Register */
- __R uint32_t rsv_0x8c;
+ __I uint32_t rsv_0x8c;
__IO uint32_t rlr0; /**< \b 0x90: FLC RLR0 Register */
- __R uint32_t rsv_0x94;
+ __I uint32_t rsv_0x94;
__IO uint32_t rlr1; /**< \b 0x98: FLC RLR1 Register */
} mxc_flc_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcfr_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcfr_regs.h
index f43c895ce9..259fd21648 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcfr_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcfr_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcr_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcr_regs.h
index 67cacdd16c..72b8f0d4ce 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcr_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gcr_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -90,20 +87,20 @@ typedef struct {
__IO uint32_t rst0; /**< \b 0x04: GCR RST0 Register */
__IO uint32_t clkctrl; /**< \b 0x08: GCR CLKCTRL Register */
__IO uint32_t pm; /**< \b 0x0C: GCR PM Register */
- __R uint32_t rsv_0x10_0x17[2];
+ __I uint32_t rsv_0x10_0x17[2];
__IO uint32_t pclkdiv; /**< \b 0x18: GCR PCLKDIV Register */
- __R uint32_t rsv_0x1c_0x23[2];
+ __I uint32_t rsv_0x1c_0x23[2];
__IO uint32_t pclkdis0; /**< \b 0x24: GCR PCLKDIS0 Register */
__IO uint32_t memctrl; /**< \b 0x28: GCR MEMCTRL Register */
__IO uint32_t memz; /**< \b 0x2C: GCR MEMZ Register */
- __R uint32_t rsv_0x30_0x3f[4];
+ __I uint32_t rsv_0x30_0x3f[4];
__IO uint32_t sysst; /**< \b 0x40: GCR SYSST Register */
__IO uint32_t rst1; /**< \b 0x44: GCR RST1 Register */
__IO uint32_t pclkdis1; /**< \b 0x48: GCR PCLKDIS1 Register */
__IO uint32_t eventen; /**< \b 0x4C: GCR EVENTEN Register */
__I uint32_t revision; /**< \b 0x50: GCR REVISION Register */
__IO uint32_t sysie; /**< \b 0x54: GCR SYSIE Register */
- __R uint32_t rsv_0x58_0x63[3];
+ __I uint32_t rsv_0x58_0x63[3];
__IO uint32_t eccerr; /**< \b 0x64: GCR ECCERR Register */
__IO uint32_t eccced; /**< \b 0x68: GCR ECCCED Register */
__IO uint32_t eccie; /**< \b 0x6C: GCR ECCIE Register */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gpio_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gpio_regs.h
index b5b365fbf1..09714d5d4b 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gpio_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/gpio_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -103,12 +100,12 @@ typedef struct {
__IO uint32_t inten_set; /**< \b 0x38: GPIO INTEN_SET Register */
__IO uint32_t inten_clr; /**< \b 0x3C: GPIO INTEN_CLR Register */
__I uint32_t intfl; /**< \b 0x40: GPIO INTFL Register */
- __R uint32_t rsv_0x44;
+ __I uint32_t rsv_0x44;
__IO uint32_t intfl_clr; /**< \b 0x48: GPIO INTFL_CLR Register */
__IO uint32_t wken; /**< \b 0x4C: GPIO WKEN Register */
__IO uint32_t wken_set; /**< \b 0x50: GPIO WKEN_SET Register */
__IO uint32_t wken_clr; /**< \b 0x54: GPIO WKEN_CLR Register */
- __R uint32_t rsv_0x58;
+ __I uint32_t rsv_0x58;
__IO uint32_t dualedge; /**< \b 0x5C: GPIO DUALEDGE Register */
__IO uint32_t padctrl0; /**< \b 0x60: GPIO PADCTRL0 Register */
__IO uint32_t padctrl1; /**< \b 0x64: GPIO PADCTRL1 Register */
@@ -118,7 +115,7 @@ typedef struct {
__IO uint32_t en2; /**< \b 0x74: GPIO EN2 Register */
__IO uint32_t en2_set; /**< \b 0x78: GPIO EN2_SET Register */
__IO uint32_t en2_clr; /**< \b 0x7C: GPIO EN2_CLR Register */
- __R uint32_t rsv_0x80_0xa7[10];
+ __I uint32_t rsv_0x80_0xa7[10];
__IO uint32_t hysen; /**< \b 0xA8: GPIO HYSEN Register */
__IO uint32_t srsel; /**< \b 0xAC: GPIO SRSEL Register */
__IO uint32_t ds0; /**< \b 0xB0: GPIO DS0 Register */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2c_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2c_regs.h
index 56d6a3f58e..4d67eec5c6 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2c_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2c_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2s_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2s_regs.h
index 950519ef5f..065ae5b991 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2s_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/i2s_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -87,13 +84,13 @@ extern "C" {
*/
typedef struct {
__IO uint32_t ctrl0ch0; /**< \b 0x00: I2S CTRL0CH0 Register */
- __R uint32_t rsv_0x4_0xf[3];
+ __I uint32_t rsv_0x4_0xf[3];
__IO uint32_t ctrl1ch0; /**< \b 0x10: I2S CTRL1CH0 Register */
- __R uint32_t rsv_0x14_0x2f[7];
+ __I uint32_t rsv_0x14_0x2f[7];
__IO uint32_t dmach0; /**< \b 0x30: I2S DMACH0 Register */
- __R uint32_t rsv_0x34_0x3f[3];
+ __I uint32_t rsv_0x34_0x3f[3];
__IO uint32_t fifoch0; /**< \b 0x40: I2S FIFOCH0 Register */
- __R uint32_t rsv_0x44_0x4f[3];
+ __I uint32_t rsv_0x44_0x4f[3];
__IO uint32_t intfl; /**< \b 0x50: I2S INTFL Register */
__IO uint32_t inten; /**< \b 0x54: I2S INTEN Register */
__IO uint32_t extsetup; /**< \b 0x58: I2S EXTSETUP Register */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/icc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/icc_regs.h
index 2735a356ad..c13039d3ef 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/icc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/icc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -88,9 +85,9 @@ extern "C" {
typedef struct {
__I uint32_t info; /**< \b 0x0000: ICC INFO Register */
__I uint32_t sz; /**< \b 0x0004: ICC SZ Register */
- __R uint32_t rsv_0x8_0xff[62];
+ __I uint32_t rsv_0x8_0xff[62];
__IO uint32_t ctrl; /**< \b 0x0100: ICC CTRL Register */
- __R uint32_t rsv_0x104_0x6ff[383];
+ __I uint32_t rsv_0x104_0x6ff[383];
__IO uint32_t invalidate; /**< \b 0x0700: ICC INVALIDATE Register */
} mxc_icc_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/mcr_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/mcr_regs.h
index 9fecbe02c3..609b12599b 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/mcr_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/mcr_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -86,9 +83,9 @@ extern "C" {
* Structure type to access the MCR Registers.
*/
typedef struct {
- __R uint32_t rsv_0x0;
+ __I uint32_t rsv_0x0;
__IO uint32_t rst; /**< \b 0x04: MCR RST Register */
- __R uint32_t rsv_0x8_0x23[7];
+ __I uint32_t rsv_0x8_0x23[7];
__IO uint32_t clkdis; /**< \b 0x24: MCR CLKDIS Register */
} mxc_mcr_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/pwrseq_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/pwrseq_regs.h
index b0a739a7cd..8abbc1abf1 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/pwrseq_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/pwrseq_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -91,10 +88,10 @@ typedef struct {
__IO uint32_t lpwken0; /**< \b 0x08: PWRSEQ LPWKEN0 Register */
__IO uint32_t lpwkst1; /**< \b 0x0C: PWRSEQ LPWKST1 Register */
__IO uint32_t lpwken1; /**< \b 0x10: PWRSEQ LPWKEN1 Register */
- __R uint32_t rsv_0x14_0x2f[7];
+ __I uint32_t rsv_0x14_0x2f[7];
__IO uint32_t lppwkst; /**< \b 0x30: PWRSEQ LPPWKST Register */
__IO uint32_t lppwken; /**< \b 0x34: PWRSEQ LPPWKEN Register */
- __R uint32_t rsv_0x38_0x3f[2];
+ __I uint32_t rsv_0x38_0x3f[2];
__IO uint32_t lpmemsd; /**< \b 0x40: PWRSEQ LPMEMSD Register */
} mxc_pwrseq_regs_t;
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/rtc_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/rtc_regs.h
index ea2df989c7..cf5c3d1ceb 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/rtc_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/rtc_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/sir_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/sir_regs.h
index 705e8b4214..1142bb935d 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/sir_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/sir_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/spi_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/spi_regs.h
index fe5c36edee..29560207e3 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/spi_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/spi_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -96,7 +93,7 @@ typedef struct {
__IO uint32_t ctrl2; /**< \b 0x0C: SPI CTRL2 Register */
__IO uint32_t sstime; /**< \b 0x10: SPI SSTIME Register */
__IO uint32_t clkctrl; /**< \b 0x14: SPI CLKCTRL Register */
- __R uint32_t rsv_0x18;
+ __I uint32_t rsv_0x18;
__IO uint32_t dma; /**< \b 0x1C: SPI DMA Register */
__IO uint32_t intfl; /**< \b 0x20: SPI INTFL Register */
__IO uint32_t inten; /**< \b 0x24: SPI INTEN Register */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/tmr_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/tmr_regs.h
index 008da9ca9c..3203beee80 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/tmr_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/tmr_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/trng_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/trng_regs.h
index 1cb5ba4600..6d5caba3f7 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/trng_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/trng_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/uart_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/uart_regs.h
index 35388d03a4..3b6c3c3df6 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/uart_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/uart_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */
@@ -95,7 +92,7 @@ typedef struct {
__IO uint32_t txpeek; /**< \b 0x0018: UART TXPEEK Register */
__IO uint32_t pnr; /**< \b 0x001C: UART PNR Register */
__IO uint32_t fifo; /**< \b 0x0020: UART FIFO Register */
- __R uint32_t rsv_0x24_0x2f[3];
+ __I uint32_t rsv_0x24_0x2f[3];
__IO uint32_t dma; /**< \b 0x0030: UART DMA Register */
__IO uint32_t wken; /**< \b 0x0034: UART WKEN Register */
__IO uint32_t wkfl; /**< \b 0x0038: UART WKFL Register */
diff --git a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/wdt_regs.h b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/wdt_regs.h
index ef08d63e1b..8c0356fe6e 100644
--- a/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/wdt_regs.h
+++ b/targets/TARGET_Maxim/TARGET_MAX32670/Libraries/CMSIS/Device/Maxim/MAX32670/Include/wdt_regs.h
@@ -67,9 +67,6 @@ extern "C" {
#ifndef __O
#define __O volatile
#endif
-#ifndef __R
-#define __R volatile const
-#endif
/// @endcond
/* **** Definitions **** */