mirror of https://github.com/ARMmbed/mbed-os.git
02330336f2
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. |
||
---|---|---|
.. | ||
mbed_mpu_v7m.c | ||
mbed_mpu_v8m.c |