aboutsummaryrefslogtreecommitdiff
path: root/stm/pendsv.c
AgeCommit message (Collapse)Author
2014-05-21stm: Remove long-obsolete stm/ port.Damien George
2014-02-23stm: Make pendsv_nlr_jump work when debugging is enabled.Damien George
Stack layout is different when -g used, so need to handle the pendsv jump differently. Addresses Issue #315.
2014-02-01stm: Add support for ctrl-C to interrupt running Python.Damien George
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.