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

stm: Add support for ctrl-C to interrupt running Python.

Using PendSV interrupt at lowest priority, code can now raise an
exception during an interrupt by calling pendsv_nlr_jump.  The exception
will be raised when all interrupts are finished.  This is used to trap
ctrl-C from the USB VCP to break out of running Python code.
parent 532f2c30
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