summaryrefslogtreecommitdiffstatshomepage
path: root/py/strtonum.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-01 16:04:34 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-01 16:04:34 +0000
commit01156d510c728408be4fd3100bcee18e8985ac00 (patch)
tree00474b76a63214870d88c82249db9d17c64f2f71 /py/strtonum.c
parent532f2c30f66c9ff1e4f2aded29b98ba0db5ec341 (diff)
downloadmicropython-01156d510c728408be4fd3100bcee18e8985ac00.tar.gz
micropython-01156d510c728408be4fd3100bcee18e8985ac00.zip
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.
Diffstat (limited to 'py/strtonum.c')
0 files changed, 0 insertions, 0 deletions