mirror of https://github.com/ARMmbed/mbed-os.git
[M252KG] Override mpu-rom-end to 0x1fffffff
Without this override, mpu hal will require 5 mpu regions which exceed 4 mpu regions supported by M252 (see hal/mpu/mbed_mpu_v8m.c). In this scenario, we will hit assert error but we actually meet stack overrun first due to just 0x400 bytes for emitting error message. The issue doesn’t occur on other targets such as M487 because it has 8 mpu regions.pull/11176/head
parent
36278618ad
commit
d0ffd9510f
|
|
@ -8818,6 +8818,7 @@
|
|||
}
|
||||
},
|
||||
"overrides": {
|
||||
"mpu-rom-end": "0x1fffffff",
|
||||
"tickless-from-us-ticker": true
|
||||
},
|
||||
"inherits": ["Target"],
|
||||
|
|
|
|||
Loading…
Reference in New Issue