ARMv7-M MPU: correctly protect 80000000 RAM region

Subregion mask for this region was set fully disabled, instead of fully
enabled.
pull/9061/head
Kevin Bracey 2018-12-12 15:01:19 +02:00
parent 171e575b94
commit 170b73442b
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ void mbed_mpu_init()
0, // IsShareable
1, // IsCacheable
0, // IsBufferable
~0U, // SubRegionDisable
0U, // SubRegionDisable
ARM_MPU_REGION_SIZE_512MB) // Size
);