Skip to content

Commit 7addb80

Browse files
author
Cruz Monrreal
authored
Merge pull request #9274 from caixue1102/mbed-os-rda
fix MPU compilation issue
2 parents cce7e83 + aedeaf9 commit 7addb80

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

targets/TARGET_RDA/TARGET_UNO_91H/device/RDA5991H.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef enum IRQn
7070
*/
7171

7272
/* Configuration of the Cortex-M4 Processor and Core Peripherals */
73-
#define __MPU_PRESENT 1 /*!< MPU present or not */
73+
#define __MPU_PRESENT 0 /*!< MPU present or not */
7474
#define __NVIC_PRIO_BITS 5 /*!< Number of Bits used for Priority Levels */
7575
#define __Vendor_SysTickConfig 0 /*!< Set to 1 if different SysTick Config is used */
7676
#define __FPU_PRESENT 1 /*!< FPU present */

targets/targets.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7921,7 +7921,21 @@
79217921
"extra_labels": ["RDA", "UNO_91H", "FLASH_CMSIS_ALGO"],
79227922
"supported_toolchains": ["ARM", "GCC_ARM", "IAR"],
79237923
"macros": ["TWO_RAM_REGIONS", "CMSIS_NVIC_VIRTUAL", "CMSIS_NVIC_VIRTUAL_HEADER_FILE=\"RDA5981_nvic_virtual.h\""],
7924-
"device_has": ["USTICKER", "PORTIN", "PORTOUT", "PORTINOUT", "INTERRUPTIN", "SERIAL", "STDIO_MESSAGES", "PWMOUT", "SPI", "SLEEP", "ANALOGIN", "FLASH", "TRNG", "MPU"],
7924+
"device_has": [
7925+
"USTICKER",
7926+
"PORTIN",
7927+
"PORTOUT",
7928+
"PORTINOUT",
7929+
"INTERRUPTIN",
7930+
"SERIAL",
7931+
"STDIO_MESSAGES",
7932+
"PWMOUT",
7933+
"SPI",
7934+
"SLEEP",
7935+
"ANALOGIN",
7936+
"FLASH",
7937+
"TRNG"
7938+
],
79257939
"release_versions": ["2", "5"]
79267940
},
79277941
"UNO_91H": {

0 commit comments

Comments
 (0)