1. 11 Oct, 2015 1 commit
    • Damien George's avatar
      repl: Add paste mode to friendly REPL, entered via CTRL-E. · 46a11028
      Damien George authored
      Use CTRL-E to enter paste mode.  Prompt starts with "===" and accepts
      all characters verbatim, echoing them back.  Only control characters are
      CTRL-C which cancels the input and returns to normal REPL, and CTRL-D
      which ends the input and executes it.  The input is executed as though
      it were a file.  The input is not added to the prompt history.
  2. 12 Sep, 2015 1 commit
    • Damien George's avatar
      lib/mp-readline: Add auto-indent support. · 0af73014
      Damien George authored
      4 spaces are added at start of line to match previous indent, and if
      previous line ended in colon.
      Backspace deletes 4 space if only spaces begin a line.
      Configurable via MICROPY_REPL_AUTO_INDENT.  Disabled by default.
  3. 26 Jul, 2015 1 commit
  4. 30 May, 2015 2 commits
  5. 27 May, 2015 1 commit
  6. 28 Apr, 2015 2 commits
  7. 13 Feb, 2015 2 commits
  8. 29 Jan, 2015 1 commit
  9. 28 Jan, 2015 1 commit
    • Damien George's avatar
      py: Change vstr so that it doesn't null terminate buffer by default. · 0d3cb672
      Damien George authored
      This cleans up vstr so that it's a pure "variable buffer", and the user
      can decide whether they need to add a terminating null byte.  In most
      places where vstr is used, the vstr did not need to be null terminated
      and so this patch saves code size, a tiny bit of RAM, and makes vstr
      usage more efficient.  When null termination is needed it must be
      done explicitly using vstr_null_terminate.
  10. 25 Jan, 2015 1 commit
  11. 12 Jan, 2015 3 commits
  12. 07 Jan, 2015 1 commit
  13. 01 Jan, 2015 1 commit
  14. 27 Nov, 2014 2 commits
  15. 26 Oct, 2014 1 commit
    • Damien George's avatar
      stmhal: Improve REPL control codes; improve pyboard.py script. · bc1488a0
      Damien George authored
      Improvements are:
      2 ctrl-C's are now needed to truly kill running script on pyboard, so
      make CDC interface allow multiple ctrl-C's through at once (ie sending
      b'\x03\x03' to pyboard now counts as 2 ctrl-C's).
      ctrl-C in friendly-repl can now stop multi-line input.
      In raw-repl mode, use ctrl-D to indicate end of running script, and also
      end of any error message.  Thus, output of raw-repl is always at least 2
      ctrl-D's and it's much easier to parse.
      pyboard.py is now a bit faster, handles exceptions from pyboard better
      (prints them and exits with exit code 1), prints out the pyboard output
      while the script is running (instead of waiting till the end), and
      allows to follow the output of a previous script when run with no
  16. 04 Aug, 2014 1 commit
    • Damien George's avatar
      stmhal: Clean up reset/soft-reset code; fix bug init'ing VCP exc. · ccacdf44
      Damien George authored
      Make a clearer distinction between init functions that must be done
      before any scripts can run (xxx_init0) and those that can be safely
      deferred (xxx_init).
      Fix bug initialising USB VCP exception.  Addresses issue #788.
      Re-order some init function to improve reliability of
  17. 20 Jul, 2014 1 commit
  18. 28 Jun, 2014 1 commit
  19. 16 Jun, 2014 1 commit
  20. 10 May, 2014 1 commit
  21. 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/.
  22. 05 Apr, 2014 1 commit
  23. 04 Apr, 2014 1 commit
  24. 03 Apr, 2014 1 commit
  25. 02 Apr, 2014 1 commit
  26. 29 Mar, 2014 1 commit