Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpu/cortexm_common: remove breakpoint from hard_fault_handler #17781

Merged
merged 1 commit into from
Jun 7, 2022

Commits on Mar 9, 2022

  1. cpu/cortexm_common: remove breakpoint from hard_fault_handler

    The hard fault handler would normally call core_panic() which in turn
    calls ps() - this already helps debugging a lot of crashes caused by
    a thread stack overflow.
    
    With the breakpoint in place, the code will not advance to this, leaving
    users unknown of this feature in the dark.
    
    On top, the breakpoint is not very helpful if thread stacks are already
    corrupted.
    
    Let's just drop it for simplicity's sake - it's not there for any other
    architectures.
    benpicco committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    1fa1d34 View commit details
    Browse the repository at this point in the history