1. 16 Apr, 2015 1 commit
    • Damien George's avatar
      py: Overhaul and simplify printf/pfenv mechanism. · 7f9d1d6a
      Damien George authored
      Previous to this patch the printing mechanism was a bit of a tangled
      mess.  This patch attempts to consolidate printing into one interface.
      
      All (non-debug) printing now uses the mp_print* family of functions,
      mainly mp_printf.  All these functions take an mp_print_t structure as
      their first argument, and this structure defines the printing backend
      through the "print_strn" function of said structure.
      
      Printing from the uPy core can reach the platform-defined print code via
      two paths: either through mp_sys_stdout_obj (defined pert port) in
      conjunction with mp_stream_write; or through the mp_plat_print structure
      which uses the MP_PLAT_PRINT_STRN macro to define how string are printed
      on the platform.  The former is only used when MICROPY_PY_IO is defined.
      
      With this new scheme printing is generally more efficient (less layers
      to go through, less arguments to pass), and, given an mp_print_t*
      structure, one can call mp_print_str for efficiency instead of
      mp_pr...
      7f9d1d6a
  2. 06 Apr, 2015 2 commits
  3. 14 Mar, 2015 1 commit
  4. 13 Feb, 2015 1 commit
  5. 20 Jan, 2015 1 commit
  6. 15 Jan, 2015 1 commit
  7. 13 Jan, 2015 2 commits
    • Paul Sokolovsky's avatar
      minimal: Convert "bare-arm" port to "minimal" port. · 5ebabcda
      Paul Sokolovsky authored
      This enable libc functions, GC, and line-editing function. Also, UART
      emulation for POSIX systems is added. Emulation build is set as default.
      5ebabcda
    • Paul Sokolovsky's avatar
      minimal: New port, intended to represent minimal working code. · d511a20a
      Paul Sokolovsky authored
      Unlike bare-arm, which is mostly intended to show raw interpreter size,
      without library and support code dependencies. This port is intended to
      be a better base to start new ports, and also will include emulation
      build to allow debug some aspects of embedded targets on POSIX systems.
      
      This initial commit is verbatim copy of bare-arm code.
      d511a20a
  8. 10 Jan, 2015 1 commit
  9. 16 Nov, 2014 1 commit
  10. 06 Nov, 2014 1 commit
  11. 23 Oct, 2014 1 commit
  12. 08 Sep, 2014 1 commit
  13. 24 Aug, 2014 1 commit
  14. 12 Aug, 2014 1 commit
  15. 03 Jul, 2014 1 commit
  16. 27 Jun, 2014 2 commits
  17. 08 Jun, 2014 1 commit
  18. 01 Jun, 2014 2 commits
  19. 24 May, 2014 1 commit
  20. 21 May, 2014 1 commit
    • Damien George's avatar
      Tidy up some configuration options. · 58ebde46
      Damien George authored
      MP_ALLOC_* -> MICROPY_ALLOC_*
      MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX
      MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL
      MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX
      MICROPY_EXTRA_* -> MICROPY_PORT_*
      
      See issue #35.
      58ebde46
  21. 26 Apr, 2014 1 commit
  22. 13 Apr, 2014 1 commit
  23. 12 Apr, 2014 1 commit