You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/platform/MpuManagement.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ Mbed OS handles MPU management automatically in the following situations:
13
13
14
14
<spanclass="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>
15
15
16
+
<spanclass="notes">**Note:** The configuration value `platform.use-mpu` can be set to `false` to remove the MPU driver and save code space.</span>
17
+
16
18
#### RAM execute lock
17
19
18
20
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.
Copy file name to clipboardExpand all lines: docs/reference/configuration/Platform.md
+28-1Lines changed: 28 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,23 @@ The following is the complete list of platform configuration parameters, as gene
8
8
Configuration parameters
9
9
------------------------
10
10
11
+
Name: platform.all-stats-enabled
12
+
Description: Set to 1 to enable all platform stats. When enabled the functions mbed_stats_*_get returns non-zero data. See mbed_stats.h for more information
13
+
Defined by: library:platform
14
+
No value set
11
15
Name: platform.cpu-stats-enabled
12
16
Description: Set to 1 to enable cpu stats. When enabled the function mbed_stats_cpu_get returns non-zero data. See mbed_stats.h for more information
13
17
Defined by: library:platform
14
18
No value set
19
+
Name: platform.crash-capture-enabled
20
+
Description: Enables crash context capture when the system enters a fatal error/crash.
21
+
Defined by: library:platform
22
+
No value set
23
+
Name: platform.cthunk_count_max
24
+
Description: The maximum CThunk objects used at the same time. This must be greater than 0 and less 256
25
+
Defined by: library:platform
26
+
Macro name: MBED_CONF_PLATFORM_CTHUNK_COUNT_MAX
27
+
Value: 8 (set by library:platform)
15
28
Name: platform.default-serial-baud-rate
16
29
Description: Default baud rate for a Serial or RawSerial instance (if not specified in the constructor)
Value: "\nFor more info, visit: https:/\/armmbed.github.io/mbedos-error/?error=0x%08X" (set by library:platform)
41
+
Value: "\nFor more info, visit: https://armmbed.github.io/mbedos-error/?error=0x%08X" (set by library:platform)
29
42
Name: platform.error-filename-capture-enabled
30
43
Description: Enables capture of filename and line number as part of error context capture, this works only for debug and develop builds. On release builds, filename capture is always disabled
31
44
Defined by: library:platform
@@ -39,6 +52,15 @@ Name: platform.error-hist-size
39
52
Defined by: library:platform
40
53
Macro name: MBED_CONF_PLATFORM_ERROR_HIST_SIZE
41
54
Value: 4 (set by library:platform)
55
+
Name: platform.error-reboot-max
56
+
Description: Maximum number of auto reboots permitted when an error happens.
57
+
Defined by: library:platform
58
+
Macro name: MBED_CONF_PLATFORM_ERROR_REBOOT_MAX
59
+
Value: 1 (set by library:platform)
60
+
Name: platform.fatal-error-auto-reboot-enabled
61
+
Description: Setting this to true enables auto-reboot on a fatal error.
62
+
Defined by: library:platform
63
+
No value set
42
64
Name: platform.force-non-copyable-error
43
65
Description: Force compile time error when a NonCopyable object is copied
Description: Set to 1 to enable thread stats. When enabled the function mbed_stats_thread_get_each returns non-zero data. See mbed_stats.h for more information
95
117
Defined by: library:platform
96
118
No value set
119
+
Name: platform.use-mpu
120
+
Description: Use the MPU if available to fault execution from RAM and writes to ROM. Can be disabled to reduce image size.
0 commit comments