Skip to content

Commit a0e42fa

Browse files
committed
Removing config option to print report to terminal on reboot, as it conflicts with current implementation of mbed_error_printf
1 parent 2d58f23 commit a0e42fa

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/design-documents/platform/crash-reporting/crash_reporting.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ will not be entered and the system will halt execution.
6767
1. Configuration option to enable or disable this feature
6868
1. Configuration option to enable or disable auto-reboot when the system enters a fatal error scenario
6969
1. Configuration option to limit the number of auto-reboots
70-
1. Configuration option to print the saved error report on reboot
7170

7271
### System architecture and component interaction
7372

@@ -168,7 +167,7 @@ mbed_error_status_t mbed_reset_reboot_count()
168167

169168
### Mechanism to report the error data after reboot
170169

171-
MbedOS initialization sequence should check if the reboot is caused by a fatal error and should report the same to the application using callback mechanism. The system may also print this to terminal if enabled.
170+
MbedOS initialization sequence should check if the reboot is caused by a fatal error and should report the same to the application using callback mechanism.
172171

173172
MbedOS initialization sequence should be modified as shown in below diagram to report the crash report and invoke the callback.
174173

@@ -193,7 +192,6 @@ Crash reporting implementation should provide enough parameters to control diffe
193192
1. Configuration option to enable or disable error the entire feature
194193
1. Configuration option to enable or disable auto-reboot when the system enters a fatal error scenario
195194
1. Configuration option to limit the number of auto-reboots
196-
1. Configuration option to print the saved error report on reboot
197195
198196
# Usage scenarios and examples
199197
@@ -288,10 +286,6 @@ Enables crash context capture when the system enters a fatal error/crash. When t
288286

289287
Enables auto-reboot on fatal errors.
290288

291-
**reboot-crash-report-enabled**
292-
293-
Enables crash report over terminal when the system reboots after a fatal error/crash.
294-
295289
**error-reboot-max**
296290

297291
Maximum number of auto reboots permitted when an error happens.

0 commit comments

Comments
 (0)