1. 29 Jul, 2015 1 commit
  2. 23 May, 2015 1 commit
  3. 20 Mar, 2015 1 commit
  4. 07 Jan, 2015 2 commits
  5. 01 Jan, 2015 1 commit
  6. 25 Oct, 2014 1 commit
    • Damien George's avatar
      py: Add mp_pending_exception global variable, for VM soft interrupt. · 124df6f8
      Damien George authored
      This allows to implement KeyboardInterrupt on unix, and a much safer
      ctrl-C in stmhal port.  First ctrl-C is a soft one, with hope that VM
      will notice it; second ctrl-C is a hard one that kills anything (for
      both unix and stmhal).
      
      One needs to check for a pending exception in the VM only for jump
      opcodes.  Others can't produce an infinite loop (infinite recursion is
      caught by stack check).
      124df6f8
  7. 28 Jun, 2014 1 commit
  8. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      Blanket wide to all .c and .h files.  Some files originating from ST are
      difficult to deal with (license wise) so it was left out of those.
      
      Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
      04b9147e
  9. 14 Mar, 2014 1 commit
  10. 23 Feb, 2014 1 commit
  11. 01 Feb, 2014 1 commit
    • Damien George's avatar
      stm: Add support for ctrl-C to interrupt running Python. · 01156d51
      Damien George authored
      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.
      01156d51