Open dansiviter opened 5 hours ago
@dansiviter If I'm not wrong printf should output to Serial1 TX0 RX0.
If you need to override the macros you can add them to https://github.com/arduino/ArduinoCore-mbed/blob/main/variants/GIGA/conf/mbed_app.json#L10
they should be named:
platform.error-hist-enabled
platform.crash-capture-enabled
platform.fatal-error-auto-reboot-enabled
Then you need to rebuild your libmbed.a file ancd you can follow this readme https://github.com/arduino/ArduinoCore-mbed?tab=readme-ov-file#installation
I'm trying to debug an issue with the Giga crashing after a number of hours running. Unfortunately, it seems a number of issues are hampering this:
mbed_config.h
has most values disabled includingMBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED
,MBED_CONF_PLATFORM_ERROR_HIST_ENABLED
andMBED_CONF_PLATFORM_FATAL_ERROR_AUTO_REBOOT_ENABLED
. Is there any way to override these?printf
doesn't output to the Giga USBSerial
. This can be worked around somewhat withREDIRECT_STDOUT_TO
but I believe the error handler isn't flushing so don't see anything.Has anyone got this working? Any help would be apricated.