Skip to content

Commit 463189d

Browse files
author
Amanda Butler
authored
Add content to Platform.md
Make changes from PR #600 to live site after reviewing on test site.
1 parent f5ae9c8 commit 463189d

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docs/reference/configuration/Platform.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h2 id="configuration-platform">Platform</h2>
22

3-
The following is the complete list of platform configuration parameters, as generated by `mbed compile --config -v`. Please see [the configuration system documentation](/docs/v5.9/reference/configuration.html) for details on how you may use or override these settings.
3+
The following is the complete list of platform configuration parameters, as generated by `mbed compile --config -v`. Please see [the configuration system documentation](configuration.html) for details on how you may use or override these settings.
44

55
```
66
Configuration parameters
@@ -11,10 +11,32 @@ Name: platform.default-serial-baud-rate
1111
Defined by: library:platform
1212
Macro name: MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE
1313
Value: 9600 (set by library:platform)
14+
Name: platform.error-all-threads-info
15+
Description: Reports all the threads in the system as part of error report.
16+
Defined by: library:platform
17+
No value set
18+
Name: platform.error-filename-capture-enabled
19+
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
20+
Defined by: library:platform
21+
No value set
22+
Name: platform.error-hist-enabled
23+
Description: Enable for error history tracking.
24+
Defined by: library:platform
25+
No value set
26+
Name: platform.error-hist-size
27+
Description: Set the number of most recent errors the system keeps in its history, needs error-hist-enabled set to true for this to work.
28+
Defined by: library:platform
29+
Macro name: MBED_CONF_PLATFORM_ERROR_HIST_SIZE
30+
Value: 4 (set by library:platform)
1431
Name: platform.force-non-copyable-error
1532
Description: Force compile time error when a NonCopyable object is copied
1633
Defined by: library:platform
1734
No value set
35+
Name: platform.max-error-filename-len
36+
Description: Sets the maximum length of buffer used for capturing the filename in error context. This needs error-filename-capture-enabled feature.
37+
Defined by: library:platform
38+
Macro name: MBED_CONF_PLATFORM_MAX_ERROR_FILENAME_LEN
39+
Value: 16 (set by library:platform)
1840
Name: platform.poll-use-lowpower-timer
1941
Description: Enable use of low power timer class for poll(). May cause missing events.
2042
Defined by: library:platform
@@ -41,4 +63,4 @@ Name: platform.stdio-flush-at-exit
4163
Defined by: library:platform
4264
Macro name: MBED_CONF_PLATFORM_STDIO_FLUSH_AT_EXIT
4365
Value: 1 (set by library:platform)
44-
```
66+
```

0 commit comments

Comments
 (0)