Add abort() implementation
Also reduces the IRAM footprint of the fatal exception handler, as only the prelude (which disables interrupts & enables the flash mapping) is in IRAM now. Closes #54, relevant to #133.
This commit is contained in:
parent
cf350efd8a
commit
36886412e6
9 changed files with 106 additions and 33 deletions
|
|
@ -17,13 +17,6 @@ void dump_stack(uint32_t *sp);
|
|||
|
||||
Probably not useful to be called in other contexts.
|
||||
*/
|
||||
void fatal_exception_handler(uint32_t *sp);
|
||||
|
||||
/* Dump the current exception register state.
|
||||
|
||||
Probably mostly useful when called from fatal exception handler.
|
||||
*/
|
||||
void dump_excinfo(void);
|
||||
|
||||
void __attribute__((noreturn)) fatal_exception_handler(uint32_t *sp);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue