1. 29 Dec, 2016 2 commits
  2. 28 Dec, 2016 3 commits
  3. 26 Dec, 2016 1 commit
    • Paul Sokolovsky's avatar
      cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting). · 25f44c19
      Paul Sokolovsky authored
      UART REPL support was lost in os.dupterm() refactorings, etc. As
      os.dupterm() is there, implement UART REPL support at the high level -
      if MICROPY_STDIO_UART is set, make default boot.py contain os.dupterm()
      call for a UART. This means that changing MICROPY_STDIO_UART value will
      also require erasing flash on a module to force boot.py re-creation.
      25f44c19
  4. 02 Dec, 2016 2 commits
  5. 20 Nov, 2016 1 commit
  6. 16 Nov, 2016 2 commits
  7. 15 Nov, 2016 2 commits
  8. 14 Nov, 2016 1 commit
  9. 13 Nov, 2016 1 commit
  10. 21 Oct, 2016 1 commit
    • Damien George's avatar
      py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. · 4ebdb1f2
      Damien George authored
      In order to have more fine-grained control over how builtin functions are
      constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
      with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW.  These names now
      match the MP_DEFINE_CONST_FUN_OBJ macros.
      4ebdb1f2
  11. 19 Oct, 2016 1 commit
    • Damien George's avatar
      cc3200: Fix thread mutex's so threading works with interrupts. · 17ba6ef5
      Damien George authored
      Running Python code on a hard interrupt is incompatible with having a GIL,
      because most of the time the GIL will be held by the user thread when the
      interrupt arrives.  Hard interrupts mean that we should process them right
      away and hence can't wait until the GIL is released.
      
      The problem with the current code is that a hard interrupt will try to
      exit/enter the GIL while it is still held by the user thread, hence leading
      to a deadlock.
      
      This patch works around such a problem by just making GIL exit/enter a
      no-op when in an interrupt context, or when interrupts are disabled.
      
      See issue #2406.
      17ba6ef5
  12. 17 Oct, 2016 3 commits
  13. 01 Oct, 2016 1 commit
  14. 21 Sep, 2016 1 commit
  15. 08 Sep, 2016 1 commit
  16. 05 Sep, 2016 1 commit
    • Delio Brignoli's avatar
      py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled. · e2ac8bb3
      Delio Brignoli authored
      This new config option allows to control whether MicroPython uses its own
      internal printf or not (if not, an external one should be linked in).
      Accompanying this new option is the inclusion of lib/utils/printf.c in the
      core list of source files, so that ports no longer need to include it
      themselves.
      e2ac8bb3
  17. 15 Aug, 2016 1 commit
  18. 01 Aug, 2016 1 commit
  19. 28 Jun, 2016 14 commits