1. 18 Apr, 2017 1 commit
  2. 20 Mar, 2017 1 commit
  3. 10 Oct, 2016 1 commit
  4. 27 Sep, 2016 1 commit
    • Damien George's avatar
      py/modmicropython: Add micropython.const, alias for identity function. · 791b65f4
      Damien George authored
      Having a micropython.const identity function, and writing "from micropython
      import const" at the start of scripts that use the const feature, allows to
      write scripts which are compatible with CPython, and with uPy builds that
      don't include const optimisation.
      
      This patch adds such a function and updates the tests to do the import.
      791b65f4
  5. 21 Sep, 2016 1 commit
  6. 28 Jun, 2016 1 commit
  7. 24 Jan, 2016 1 commit
  8. 11 Jan, 2016 1 commit
  9. 17 Dec, 2015 1 commit
  10. 29 Nov, 2015 1 commit
  11. 16 Apr, 2015 1 commit
  12. 15 Feb, 2015 1 commit
  13. 10 Feb, 2015 1 commit
  14. 20 Jan, 2015 1 commit
  15. 12 Jan, 2015 1 commit
  16. 09 Jan, 2015 2 commits
  17. 01 Jan, 2015 1 commit
  18. 01 Dec, 2014 1 commit
  19. 29 Nov, 2014 1 commit
  20. 31 Jul, 2014 1 commit
  21. 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
  22. 03 Jul, 2014 1 commit
  23. 21 Jun, 2014 1 commit
  24. 19 Jun, 2014 1 commit
  25. 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
  26. 26 Apr, 2014 1 commit
  27. 05 Apr, 2014 1 commit
  28. 30 Mar, 2014 1 commit
    • Damien George's avatar
      Merge map.h into obj.h. · df6567e6
      Damien George authored
      Pretty much everyone needs to include map.h, since it's such an integral
      part of the Micro Python object implementation.  Thus, the definitions
      are now in obj.h instead.  map.h is removed.
      df6567e6
  29. 25 Mar, 2014 1 commit
  30. 17 Mar, 2014 1 commit
    • xbe's avatar
      py: Clean up includes. · efe34223
      xbe authored
      Remove unnecessary includes. Add includes that improve portability.
      efe34223
  31. 08 Mar, 2014 1 commit
    • Damien George's avatar
      Implement ROMable modules. Add math module. · 0c36da0b
      Damien George authored
      mp_module_obj_t can now be put in ROM.
      
      Configuration of float type is now similar to longint: can now choose
      none, float or double as the implementation.
      
      math module has basic math functions.  For STM port, these are not yet
      implemented (they are just stub functions).
      0c36da0b
  32. 12 Feb, 2014 1 commit
  33. 21 Jan, 2014 1 commit
  34. 20 Jan, 2014 2 commits