MarsRoverFirmware
MarsRoverFirmware copied to clipboard
Enable mbed crash reporting
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.