1. 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
  2. 24 Jul, 2014 1 commit
  3. 22 Jul, 2014 3 commits
  4. 19 Jul, 2014 2 commits
  5. 17 Jul, 2014 3 commits
  6. 13 Jul, 2014 1 commit
  7. 12 Jul, 2014 2 commits
  8. 10 Jul, 2014 1 commit
  9. 09 Jul, 2014 1 commit
  10. 05 Jul, 2014 2 commits
  11. 03 Jul, 2014 4 commits
  12. 01 Jul, 2014 2 commits
  13. 30 Jun, 2014 2 commits
    • Paul Sokolovsky's avatar
      stackctrl: Add "mp_" prefix. · caa73341
      Paul Sokolovsky authored
      caa73341
    • Damien George's avatar
      py: Improvements to native emitter. · b601d957
      Damien George authored
      Native emitter can now compile try/except blocks using nlr_push/nlr_pop.
      It probably only works for 1 level of exception handling.  It doesn't
      work on Thumb (only x64).
      
      Native emitter can also handle some additional op codes.
      
      With this patch, 198 tests now pass using "-X emit=native" option to
      micropython.
      b601d957
  14. 29 Jun, 2014 1 commit
    • stijn's avatar
      windows: Sync mpconfigport.h with the unix' version · ec6fa873
      stijn authored
      - rearrange/add definitions that were not there so it's easier to compare both
      - use MICROPY_PY_SYS_PLATFORM in main.c since it's available anyway
      - define EWOULDBLOCK, it is missing from ingw32
      ec6fa873
  15. 28 Jun, 2014 3 commits
  16. 27 Jun, 2014 3 commits
  17. 26 Jun, 2014 8 commits