Skip to content

Commit 0bacb9a

Browse files
committed
Turn off MPU for PSOC 6
Turn off the MPU for the PSOC 6 since it has a non-standard memory map. This fixes crashes on boot for this target.
1 parent c48d3de commit 0bacb9a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

targets/targets.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7558,6 +7558,7 @@
75587558
},
75597559
"MCU_PSOC6": {
75607560
"inherits": ["Target"],
7561+
"macros": ["MBED_MPU_CUSTOM"],
75617562
"default_toolchain": "GCC_ARM",
75627563
"supported_toolchains": ["GCC_ARM", "IAR", "ARM"],
75637564
"core": "Cortex-M4F",
@@ -7582,12 +7583,8 @@
75827583
"STDIO_MESSAGES",
75837584
"LPTICKER",
75847585
"SLEEP",
7585-
"FLASH",
7586-
"MPU"
7586+
"FLASH"
75877587
],
7588-
"overrides": {
7589-
"mpu-rom-end": "0x1fffffff"
7590-
},
75917588
"release_versions": ["5"],
75927589
"extra_labels": ["Cypress", "PSOC6"],
75937590
"public": false

0 commit comments

Comments
 (0)