[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
Chun-Chieh Li 2019-07-08 15:55:50 +08:00
parent 36278618ad
commit d0ffd9510f
1 changed files with 1 additions and 0 deletions

View File

@ -8818,6 +8818,7 @@
}
},
"overrides": {
"mpu-rom-end": "0x1fffffff",
"tickless-from-us-ticker": true
},
"inherits": ["Target"],