1. 23 Dec, 2016 1 commit
  2. 15 Dec, 2016 3 commits
  3. 13 Dec, 2016 1 commit
  4. 08 Dec, 2016 2 commits
  5. 05 Dec, 2016 1 commit
  6. 02 Dec, 2016 1 commit
  7. 23 Nov, 2016 1 commit
  8. 20 Nov, 2016 1 commit
  9. 16 Nov, 2016 1 commit
    • Damien George's avatar
      py: Factor out persistent-code reader into separate files. · 6b239c27
      Damien George authored
      Implementations of persistent-code reader are provided for POSIX systems
      and systems using FatFS.  Macros to use these are MICROPY_READER_POSIX and
      MICROPY_READER_FATFS respectively.  If an alternative implementation is
      needed then a port can define the function mp_reader_new_file.
      6b239c27
  10. 17 Oct, 2016 1 commit
  11. 14 Oct, 2016 1 commit
  12. 06 Oct, 2016 2 commits
  13. 04 Oct, 2016 1 commit
  14. 01 Sep, 2016 1 commit
  15. 15 Aug, 2016 1 commit
  16. 30 Jul, 2016 1 commit
  17. 10 May, 2016 1 commit
  18. 14 Apr, 2016 1 commit
  19. 12 Apr, 2016 2 commits
  20. 25 Feb, 2016 1 commit
  21. 14 Feb, 2016 1 commit
  22. 10 Feb, 2016 1 commit
    • Damien George's avatar
      extmod/fsusermount: Support mounting of multiple block devices. · b33a7705
      Damien George authored
      This patch adds support to fsusermount for multiple block devices
      (instead of just one).  The maximum allowed is fixed at compile time by
      the size of the fs_user_mount array accessed via MP_STATE_PORT, which
      in turn is set by MICROPY_FATFS_VOLUMES.
      
      With this patch, stmhal (which is still tightly coupled to fsusermount)
      is also modified to support mounting multiple devices   And the flash and
      SD card are now just two block devices that are mounted at start up if
      they exist (and they have special native code to make them more
      efficient).
      b33a7705
  23. 03 Feb, 2016 1 commit
    • Doug Currie's avatar
      py/mpz: Complete implementation of mpz_{and,or,xor} for negative args. · 2e2e15ce
      Doug Currie authored
      For these 3 bitwise operations there are now fast functions for
      positive-only arguments, and general functions for arbitrary sign
      arguments (the fast functions are the existing implementation).
      
      By default the fast functions are not used (to save space) and instead
      the general functions are used for all operations.
      
      Enable MICROPY_OPT_MPZ_BITWISE to use the fast functions for positive
      arguments.
      2e2e15ce
  24. 26 Jan, 2016 1 commit
    • Damien George's avatar
      extmod/modurandom: Add some extra random functions. · a53af6c8
      Damien George authored
      Functions added are:
      - randint
      - randrange
      - choice
      - random
      - uniform
      
      They are enabled with configuration variable
      MICROPY_PY_URANDOM_EXTRA_FUNCS, which is disabled by default.  It is
      enabled for unix coverage build and stmhal.
      a53af6c8
  25. 17 Jan, 2016 1 commit
  26. 07 Jan, 2016 1 commit
  27. 19 Dec, 2015 1 commit
  28. 18 Dec, 2015 2 commits
  29. 09 Dec, 2015 1 commit
    • neilh10's avatar
      stmhal: Enable two USB phys to be supported together. · 1be0fde4
      neilh10 authored
      This is refactoring to enable support for the two USB PHYs available on
      some STM32F4 processors to be used at the same time. The F405/7 & F429
      have two USB PHYs, others such as the F411 only have one PHY.
      
      This has been tested separately on a pyb10 (USB_FS PHY) and F429DISC
      (USB_HS PHY) to be able to invoke a REPL/USB.  I have modified a PYBV10
      to support two PHYs.
      
      The long term objective is to support a 2nd USB PHY to be brought up as a
      USB HOST, and possibly a single USB PHY to be OTG.
      1be0fde4
  30. 25 Nov, 2015 1 commit
  31. 08 Nov, 2015 1 commit
  32. 31 Oct, 2015 1 commit
    • Damien George's avatar
      all: Add py/mphal.h and use it in all ports. · 731f3592
      Damien George authored
      py/mphal.h contains declarations for generic mp_hal_XXX functions, such
      as stdio and delay/ticks, which ports should provide definitions for.  A
      port will also provide mphalport.h with further HAL declarations.
      731f3592
  33. 20 Oct, 2015 1 commit
  34. 19 Oct, 2015 1 commit