Skip to content

Enable mbed crash reporting #343

Open
@wmmc88

Description

@wmmc88

https://os.mbed.com/docs/mbed-os/v6.9/apis/error-handling.html#crash-reporting-and-auto-boot

The following options should be enabled repo wide (put it in mbed_app.json):

  • "platform.crash-capture-enabled": true,
  • "platform.fatal-error-auto-reboot-enabled": true,
  • "platform.error-reboot-max": 3,

As per the docs, the linkerscript must be modified to add extra regions in RAM and export symbols denoting the bounds of this region (ex. CRASH_DATA_RAM_START). This must be done in such a way that doesn't modify the submodule directly, so it probably belongs in the targets folder of our repo.. potentially in some common target that all our boards can inherit from.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions