Damien George
d4cd4831b0
extmod/vfs_fat: Replace listdir() with implementation of ilistdir().
VfsFat no longer has the listdir() method. Rather, if listdir()
functionality is needed then one should use uos.listdir() which will call
VfsFat.ilistdir().
8 years ago
Damien George
0fb27888fc
extmod/vfs_fat: Remove unused function fat_vfs_listdir.
8 years ago
Damien George
b697c89009
extmod: Merge old fsusermount.h header into vfs.h and vfs_fat.h.
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat
specific things.
8 years ago
Damien George
0bd61d23b9
extmod/vfs_fat: Remove MICROPY_FATFS_OO config option.
Everyone should now be using the new ooFatFs library. The old one is no
longer supported and will be removed.
8 years ago
Damien George
1808b2e8d5
extmod: Remove MICROPY_FSUSERMOUNT and related files.
Replaced by MICROPY_VFS and the VFS sub-system.
8 years ago
Damien George
3d6f957208
extmod/vfs_fat: Remove MICROPY_FSUSERMOUNT_ADHOC config option.
8 years ago
Damien George
ec3274324b
extmod/vfs_fat: Update to use FF_DIR instead of DIR.
8 years ago
Damien George
6c23c7587f
extmod/vfs: Add ability for VFS sub-system to import using VfsFat.
8 years ago
Damien George
32a1138b9f
extmod: Rename vfs_fat_file.h to vfs_fat.h.
And move declaration of mp_fat_vfs_type to this file.
8 years ago
Damien George
f5f4cdae89
extmod/vfs_fat: Rework so it can optionally use OO version of FatFS.
If MICROPY_VFS_FAT is enabled by a port then the port must switch to using
MICROPY_FATFS_OO. Otherwise a port can continue to use the FatFs code
without any changes.
9 years ago
Damien George
620c4c32bf
extmod/vfs_fat: Use mp_raise_OSError helper function.
8 years ago
Robert HH
7c004e794c
extmod/vfs_fat*: Replace text error messages by POSIX error numbers.
These changes are in line with similar changes in other modules, and
with standard Python interface.
9 years ago
Damien George
f9dc644017
extmod: When including extmod headers, prefix path with extmod/.
9 years ago
Paul Sokolovsky
09e363316f
extmod/vfs_fat_misc: Fix cc3200 port build.
9 years ago
Paul Sokolovsky
08fed6992f
extmod/vfs_fat_misc: Add func prototype for pedantic warnings.
9 years ago
Paul Sokolovsky
6ef65e70af
extmod/vfs_fat: Add fat_vfs_import_stat(), reusable import stat routine.
Moved from stmhal.
9 years ago
Paul Sokolovsky
cd6d189f48
extmod/vfs_fat: Move listdir() method from stmhal for reuse.
9 years ago