Commit Graph

1 Commits

Author SHA1 Message Date
jazzpi 2ca1ec4b8f Add fault handlers for debugging
The fault handlers blink different LEDs depending on the kind of fault:

HardFault  -> All
MemManage  -> Left of display
BusFault   -> Right of display
UsageFault -> Left and right of display

Additionally, they dump information about the fault to the flash and
Serial (if connected). The information dumped to the flash can later be
retrieved via Serial by sending a 'd'.
2021-07-17 20:15:55 +02:00