1. 29 Jan, 2016 4 commits
    • Damien George's avatar
      stmhal: Make TIM3 available for use by the user. · ea89b80f
      Damien George authored
      TIM3 is no longer used by USB CDC for triggering outgoing data, so we
      can now make it available to the user.
      PWM fading on LED(4) is now gone, but will be reinstated in a new way.
    • Damien George's avatar
      stmhal: Make USB CDC driver use SOF instead of TIM3 for outgoing data. · d3631339
      Damien George authored
      Previous to this patch the USB CDC driver used TIM3 to trigger the
      sending of outgoing data over USB serial.  This patch changes the
      behaviour so that the USB SOF interrupt is used to trigger the processing
      of the sending.  This reduces latency and increases bandwidth of outgoing
      Thanks to Martin Fischer, aka @hoihu, for the idea and initial prototype.
      See PR #1713.
    • Damien George's avatar
      py/formatfloat: Add ability to format doubles with exponents > 99. · 7417ccfb
      Damien George authored
      For single prec, exponents never get larger than about 37.  For double
      prec, exponents can be larger than 99 and need 3 bytes to format.  This
      patch makes the number of bytes needed configurable.
      Addresses issue #1772.
    • Paul Sokolovsky's avatar
      py/runtime: mp_stack_ctrl_init() should be called immediately on startup. · d3b1f0b6
      Paul Sokolovsky authored
      Calling it from mp_init() is too late for some ports (like Unix), and leads
      to incomplete stack frame being captured, with following GC issues. So, now
      each port should call mp_stack_ctrl_init() on its own, ASAP after startup,
      and taking special precautions so it really was called before stack variables
      get allocated (because if such variable with a pointer is missed, it may lead
      to over-collecting (typical symptom is segfaulting)).
  2. 28 Jan, 2016 3 commits
  3. 27 Jan, 2016 3 commits
  4. 26 Jan, 2016 5 commits
  5. 24 Jan, 2016 3 commits
  6. 23 Jan, 2016 2 commits
  7. 21 Jan, 2016 1 commit
  8. 19 Jan, 2016 2 commits
  9. 17 Jan, 2016 3 commits
  10. 16 Jan, 2016 1 commit
  11. 15 Jan, 2016 5 commits
  12. 14 Jan, 2016 2 commits
    • chrysn's avatar
      builtin property: accept keyword arguments · f8ba2eca
      chrysn authored
      this allows python code to use property(lambda:..., doc=...) idiom.
      named versions for the fget, fset and fdel arguments are left out in the
      interest of saving space; they are rarely used and easy to enable when
      actually needed.
      a test case is included.
    • stijn's avatar
      tests: Remove builtin_dict test · dea585f8
      stijn authored
      This is essentially a duplicate of obj_dict.py
  13. 13 Jan, 2016 3 commits
  14. 12 Jan, 2016 1 commit
  15. 11 Jan, 2016 2 commits