• Alessandro Rubini's avatar
    Optionally detect reset and print a stack trace · 7836c39e
    Alessandro Rubini authored
    The new configuation option CONFIG_CHECK_RESET adds a function to dump
    the stack (to the serial port) if a reset is detected. This happens
    when a null pointer is followed or when the program is reloaded
    (spec-sw/tools/spec-cl, for example).  For this reason, the feature is
    disabled by default (actually, spec-cl may clear the RAM first, but it
    currently doesn't do that and the check is triggered).
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    7836c39e
Kconfig 3.78 KB