mbed-os/hal/mpu
Kevin Bracey 02330336f2 Fix target.mpu-rom-end setting, for ARMv8-M too
targets.json was not specifying the same macro name as the code was
checking for, so setting was ineffective.

Making this work tripped up not-supported checks in ARMv8-M - rather than deal
with making this work, support it instead.

Both ARMv7-M and ARMv8-M slightly reduce code size and runtime impact if
mpu-rom-end is 0x1fffffff, using one fewer region.

This means default setup for ARMv8-M now requires 5 regions, with
mpu-rom-end set to default 0x0fffffff, but this can be put back to 4 by
changing the setting.
2018-12-12 15:44:21 +02:00
..
mbed_mpu_v7m.c Fix target.mpu-rom-end setting, for ARMv8-M too 2018-12-12 15:44:21 +02:00
mbed_mpu_v8m.c Fix target.mpu-rom-end setting, for ARMv8-M too 2018-12-12 15:44:21 +02:00