1. 29 Aug, 2014 1 commit
  2. 25 Aug, 2014 2 commits
    • Damien George's avatar
      stmhal: Make enable_irq and disable_irq inline functions. · e5cbb703
      Damien George authored
      These functions are generally 1 machine instruction, and are used in
      critical code, so makes sense to have them inline.
      
      Also leave these functions uninverted (ie 0 means enable, 1 means
      disable) and provide macro constants if you really need to distinguish
      the states.  This makes for smaller code as well (combined with
      inlining).
      
      Applied to teensy port as well.
      e5cbb703
    • Dave Hylands's avatar
      Add save/restore_irq · 9480138f
      Dave Hylands authored
      Factored irq functions into a separate file.
      9480138f
  3. 25 Jul, 2014 1 commit
    • Dave Hylands's avatar
      Add support for storing args during an exception raised by an irq. · 5b7fd20f
      Dave Hylands authored
      The user code should call micropython.alloc_emergency_exception_buf(size)
      where size is the size of the buffer used to print the argument
      passed to the exception.
      
      With the test code from #732, and a call to
      micropython.alloc_emergenncy_exception_buf(100) the following error is
      now printed:
      ```python
      >>> import heartbeat_irq
      Uncaught exception in Timer(4) interrupt handler
      Traceback (most recent call last):
        File "0://heartbeat_irq.py", line 14, in heartbeat_cb
      NameError: name 'led' is not defined
      ```
      5b7fd20f
  4. 03 Jul, 2014 1 commit
  5. 01 Jul, 2014 2 commits
  6. 05 Jun, 2014 1 commit
  7. 25 May, 2014 1 commit
  8. 24 May, 2014 1 commit
  9. 19 May, 2014 1 commit
  10. 12 May, 2014 1 commit
  11. 11 May, 2014 1 commit
  12. 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
  13. 02 May, 2014 1 commit
  14. 01 May, 2014 2 commits
  15. 23 Apr, 2014 1 commit
  16. 21 Apr, 2014 1 commit
  17. 10 Apr, 2014 2 commits
  18. 05 Apr, 2014 1 commit
  19. 04 Apr, 2014 1 commit
  20. 30 Mar, 2014 3 commits
  21. 29 Mar, 2014 1 commit
  22. 28 Mar, 2014 1 commit
  23. 27 Mar, 2014 1 commit
  24. 26 Mar, 2014 3 commits
  25. 25 Mar, 2014 1 commit
  26. 24 Mar, 2014 1 commit
  27. 22 Mar, 2014 2 commits
  28. 20 Mar, 2014 1 commit
  29. 17 Mar, 2014 1 commit
    • xbe's avatar
      py: Clean up includes. · efe34223
      xbe authored
      Remove unnecessary includes. Add includes that improve portability.
      efe34223
  30. 09 Mar, 2014 1 commit
  31. 15 Feb, 2014 1 commit