1. 25 Sep, 2014 4 commits
  2. 24 Sep, 2014 1 commit
    • Dave Hylands's avatar
      Add pulse_width_percent to teensy. · 53d5fa64
      Dave Hylands authored
      Fix stmhal and teensy print routines to report actual prescaler an period.
      Fix teensy build to use soft-float
      Add USE_ARDUINO_TOOLCHAIN option to teensy build
      53d5fa64
  3. 23 Sep, 2014 2 commits
    • Damien George's avatar
      py: Free non-interned strings in the parser when not needed. · 52b5d76a
      Damien George authored
      mp_parse_node_free now frees the memory associated with non-interned
      strings.  And the parser calls mp_parse_node_free when discarding a
      non-used node (such as a doc string).
      
      Also, the compiler now frees the parse tree explicitly just before it
      exits (as opposed to relying on the caller to do this).
      
      Addresses issue #708 as best we can.
      52b5d76a
    • Damien George's avatar
      stmhal: Initialise stack pointer correctly. · eaaebf32
      Damien George authored
      Stack is full descending and must be 8-byte aligned.  It must start off
      pointing to just above the last byte of RAM.
      
      Previously, stack started pointed to last byte of RAM (eg 0x2001ffff)
      and so was not 8-byte aligned.  This caused a bug in combination with
      alloca.
      
      This patch also updates some debug printing code.
      
      Addresses issue #872 (among many other undiscovered issues).
      eaaebf32
  4. 21 Sep, 2014 1 commit
    • Damien George's avatar
      stmhal: Add pulse_width_ratio to timer channel object. · 0e58c581
      Damien George authored
      This allows to set the pulse width (for PWM mode) as a ratio relative to
      the period of the timer.  Eg, 0.5 is a 50% duty cycle.  You can set the
      ratio in the channel init, or using channel.pulse_width_ratio; the
      latter can also read the pulse width as a ratio.
      0e58c581
  5. 19 Sep, 2014 1 commit
  6. 17 Sep, 2014 2 commits
  7. 15 Sep, 2014 4 commits
  8. 13 Sep, 2014 1 commit
  9. 12 Sep, 2014 1 commit
  10. 11 Sep, 2014 4 commits
  11. 07 Sep, 2014 5 commits
  12. 01 Sep, 2014 2 commits
  13. 29 Aug, 2014 2 commits
  14. 26 Aug, 2014 5 commits
  15. 25 Aug, 2014 5 commits