1. 04 May, 2015 2 commits
  2. 03 May, 2015 1 commit
  3. 29 Apr, 2015 1 commit
  4. 28 Apr, 2015 3 commits
  5. 22 Apr, 2015 1 commit
  6. 21 Apr, 2015 1 commit
  7. 19 Apr, 2015 1 commit
  8. 18 Apr, 2015 20 commits
  9. 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.
      7d5e3428
    • blmorris's avatar
      stmhal: Use new %q format to print qstr's in a few more places. · 4c459213
      blmorris authored
      Saves 68 bytes.
      4c459213
    • 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.
      7f9d1d6a
  10. 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.
      b1f68685
  11. 11 Apr, 2015 1 commit
  12. 05 Apr, 2015 1 commit
  13. 04 Apr, 2015 2 commits
  14. 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.
      7b19e99e
  15. 23 Mar, 2015 1 commit