Skip to content

Commit 4bd1d15

Browse files
authored
Merge pull request #10795 from jamesbeyond/fm_m0p_no_mpu
FastModel: trun off MPU for FVP_MPS2_M0P
2 parents 32c8bf5 + 288a685 commit 4bd1d15

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/TARGET_FVP_MPS2_M0P/device/CMSDK_CM0plus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ typedef enum IRQn {
9898

9999
/* -------- Configuration of the Cortex-M0+ Processor and Core Peripherals ------ */
100100
#define __CM0PLUS_REV 0x0000 /* Core revision r0p0 */
101-
#define __MPU_PRESENT 1 /* MPU present or not */
101+
#define __MPU_PRESENT 0 /* MPU present or not */
102102
#define __VTOR_PRESENT 1 /* VTOR present or not */
103103
#define __NVIC_PRIO_BITS 2 /* Number of Bits used for Priority Levels */
104104
#define __Vendor_SysTickConfig 0 /* Set to 1 if different SysTick Config is used */

targets/targets.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8070,8 +8070,7 @@
80708070
"FVP_MPS2_M0P": {
80718071
"inherits": ["FVP_MPS2"],
80728072
"core": "Cortex-M0+",
8073-
"macros_add": ["CMSDK_CM0plus"],
8074-
"device_has_add": ["MPU"]
8073+
"macros_add": ["CMSDK_CM0plus"]
80758074
},
80768075
"FVP_MPS2_M3": {
80778076
"inherits": ["FVP_MPS2"],

0 commit comments

Comments
 (0)