|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
HardFault handler with register dump. More...
HardFault handler with register dump.
Bridge between the MCU's HardFault vector (in sbl-hardware startup.cpp) and the library's diagnostic output. Including this header provides:
Include the header in one translation unit of the application:
The output sink is shared with assert.hpp (SBL_FAULT_OUTPUT). See assert.hpp for sink configuration.
Definition in file fault.hpp.
#include <sbl/system/assert.hpp>Go to the source code of this file.
Namespaces | |
| namespace | sbl |
| Root namespace for all Sound Byte Libs code. | |
| namespace | sbl::system |
| The system layer: execution levels, the control critical section, ring buffers, assertions and the fault handler, profiling, and the port contracts. | |
| namespace | sbl::system::fault |
| Assertions, panic and the HardFault handler. | |
Functions | |
| void | sbl::system::fault::on_hard_fault (const uint32_t *frame) |
| Format and output the Cortex-M exception stack frame. | |
| __attribute__ ((used)) inline void sbl_on_hard_fault(const uint32_t *frame) | |