Skip to content

Commit 466d9cf

Browse files
committed
Add information on how to disable the MPU
Add information to the mpu management page about using the config "platform.disable-mpu" to disable the MPU to save space.
1 parent addcd69 commit 466d9cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/api/platform/MpuManagement.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Mbed OS handles MPU management automatically in the following situations:
1313

1414
<span class="notes">**Note:** Memory protection should be transparent to most applications and libraries because Mbed OS handles it automatically for operations that need to disable MPU protections, such as flash programming. This is an advanced feature intended for use by advanced developers; it is not required.</span>
1515

16+
<span class="notes">**Note:** The configuration value `platform.disable-mpu` can be set to `true` to remove the MPU driver and save code space.</span>
17+
1618
#### RAM execute lock
1719

1820
After boot, execution from RAM is not allowed. Libraries requiring the ability to execute from RAM can enable this by acquiring the RAM execution lock. The RAM execution lock has a count associated with it, and you can lock it multiple times. Execution from RAM is disabled only when all components have unlocked it.

0 commit comments

Comments
 (0)