Skip to content

Commit

Permalink
Removing config option to print report to terminal on reboot, as it c…
Browse files Browse the repository at this point in the history
…onflicts with current implementation of mbed_error_printf
  • Loading branch information
SenRamakri committed Nov 19, 2018
1 parent 2d58f23 commit a0e42fa
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ will not be entered and the system will halt execution.
1. Configuration option to enable or disable this feature
1. Configuration option to enable or disable auto-reboot when the system enters a fatal error scenario
1. Configuration option to limit the number of auto-reboots
1. Configuration option to print the saved error report on reboot

### System architecture and component interaction

Expand Down Expand Up @@ -168,7 +167,7 @@ mbed_error_status_t mbed_reset_reboot_count()

### Mechanism to report the error data after reboot

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.
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.

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

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

Enables auto-reboot on fatal errors.

**reboot-crash-report-enabled**

Enables crash report over terminal when the system reboots after a fatal error/crash.

**error-reboot-max**

Maximum number of auto reboots permitted when an error happens.
Expand Down

0 comments on commit a0e42fa

Please sign in to comment.