aboutsummaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_lfs_mount.py.exp
AgeCommit message (Collapse)Author
2020-12-17tests/extmod: Add test to try and mount a block device directly.Oliver Joos
Mounting a bdev directly tries to auto-detect the filesystem and if none is found an OSError(19,) should be raised. The fourth parameter of readblocks() and writeblocks() must be optional to support ports with MICROPY_VFS_FAT=1. Otherwise mounting a bdev may fail because looking for a FATFS will call readblocks() with only 3 parameters.
2020-10-29extmod/vfs_lfs: Support mounting LFS filesystems in read-only mode.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-05-15extmod/vfs_lfsx: Fix import_stat so it takes into account current dir.Damien George
CPython semantics require searching the current directory if the import is not absolute (when "" is in sys.path). Fixes issue #6037.
2019-10-29tests/extmod: Add littlefs tests.Damien George