1. 18 Apr, 2015 3 commits
  2. 16 Apr, 2015 3 commits
    • Damien George's avatar
      stmhal: Allow sending CAN messages with timeout=0. · 7d5e3428
      Damien George authored
      Thanks to Henrik Sölver for this patch.
    • blmorris's avatar
      stmhal: Use new %q format to print qstr's in a few more places. · 4c459213
      blmorris authored
      Saves 68 bytes.
    • 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_printf("%s", ...).  Code size is also reduced by around 200 bytes on
      Thumb2 archs.
  3. 13 Apr, 2015 1 commit
    • Damien George's avatar
      stmhal: In USB HID driver, make polling interval configurable. · b1f68685
      Damien George authored
      When setting usb_mode to "HID", hid config object now has
      polling-interval (in ms) as the 4th element.  It mmust now be a 5-tuple
      of the form:
      (subclass, protocol, max_packet_len, polling_interval, report_desc)
      The mouse and keyboard defaults have polling interval at 8ms.
  4. 11 Apr, 2015 1 commit
  5. 05 Apr, 2015 1 commit
  6. 04 Apr, 2015 2 commits
  7. 29 Mar, 2015 1 commit
    • Daniel Campora's avatar
      lib: Update FatFs to R0.11. · 7b19e99e
      Daniel Campora authored
      There are lots of cosmetic changes, but this release brings a  very
      important bug fix:
       - Fixed f_unlink() does not remove cluster chain of the file.
      With R0.10c if you try to write a file that is too large to fit in the
      free space of the drive, the operation fails, you delete the incomplete
      file, and it seems to be erased, but the space is not really freed,
      because any subsequent write operations fail because the drive is
      "still" full. The only way to recover from this is by formatting the
      drive. I can confirm that R0.11 fixes the problem.
  8. 23 Mar, 2015 1 commit
  9. 22 Mar, 2015 3 commits
  10. 20 Mar, 2015 4 commits
  11. 16 Mar, 2015 1 commit
  12. 15 Mar, 2015 1 commit
  13. 14 Mar, 2015 1 commit
  14. 13 Mar, 2015 1 commit
  15. 09 Mar, 2015 1 commit
  16. 04 Mar, 2015 2 commits
  17. 02 Mar, 2015 1 commit
  18. 01 Mar, 2015 1 commit
  19. 27 Feb, 2015 1 commit
  20. 23 Feb, 2015 2 commits
  21. 22 Feb, 2015 3 commits
  22. 15 Feb, 2015 1 commit
  23. 13 Feb, 2015 4 commits