1. 30 Jan, 2017 2 commits
  2. 27 Jan, 2017 3 commits
    • Damien George's avatar
      extmod/vfs: Expose mp_vfs_mount_t type. · 3f6b4e08
      Damien George authored
      It should only be used for low-level things and with caution, for example
      putting mounted VFS data in ROM or the static data section.
      3f6b4e08
    • Damien George's avatar
    • Damien George's avatar
      extmod: Add generic VFS sub-system. · dcb9ea72
      Damien George authored
      This provides mp_vfs_XXX functions (eg mount, open, listdir) which are
      agnostic to the underlying filesystem type, and just require an object with
      the relevant filesystem-like methods (eg .mount, .open, .listidr) which can
      then be mounted.
      
      These mp_vfs_XXX functions would typically be used by a port to implement
      the "uos" module, and mp_vfs_open would be the builtin open function.
      
      This feature is controlled by MICROPY_VFS, disabled by default.
      dcb9ea72