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/reference/configuration/Platform.md
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,32 @@ 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)
45
+
Value: "\nFor more info, visit: https://armmbed.github.io/mbedos-error/?error=0x%08X" (set by library:platform)
29
46
Name: platform.error-filename-capture-enabled
30
47
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
48
Defined by: library:platform
@@ -39,6 +56,15 @@ Name: platform.error-hist-size
39
56
Defined by: library:platform
40
57
Macro name: MBED_CONF_PLATFORM_ERROR_HIST_SIZE
41
58
Value: 4 (set by library:platform)
59
+
Name: platform.error-reboot-max
60
+
Description: Maximum number of auto reboots permitted when an error happens.
61
+
Defined by: library:platform
62
+
Macro name: MBED_CONF_PLATFORM_ERROR_REBOOT_MAX
63
+
Value: 1 (set by library:platform)
64
+
Name: platform.fatal-error-auto-reboot-enabled
65
+
Description: Setting this to true enables auto-reboot on a fatal error.
66
+
Defined by: library:platform
67
+
No value set
42
68
Name: platform.force-non-copyable-error
43
69
Description: Force compile time error when a NonCopyable object is copied
0 commit comments