2 Commits

Author SHA1 Message Date
jvblanck
fb68e8c4d6 Bugfixes for fault handlers 2021-07-18 17:14:03 +02:00
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