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

Added SIGINT handler for stlink cleanup #135

Merged
merged 1 commit into from
Mar 6, 2013

Commits on Mar 6, 2013

  1. Add SIGINT handler for stlink cleanup

    SIGINT causes st-util to immediately exit, without closing the open
    stlink.  This leaves devices (at least the F4 Discovery) in a state
    where they are unable to reset.  st-util could still connect and control
    them, but a power cycle was required before they could reset on their
    own.
    
    A signal handler is added for SIGINT, which performs cleanup and closing
    of the open stlink device, allowing it to function normally on
    disconnect.
    prattmic committed Mar 6, 2013
    Configuration menu
    Copy the full SHA
    2216d28 View commit details
    Browse the repository at this point in the history