Skip to content
Snippets Groups Projects
Commit 27c149ef authored by Damien George's avatar Damien George
Browse files

stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour.

This new function controls what happens on a hard-fault:
- debugging disabled: board will do a reset
- debugging enabled: board will print registers and stack and flash LEDs

The default is disabled, ie to do a reset.  This is different to previous
behaviour which flashed the LEDs and waited indefinitely.
parent bffda451
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment