diff options
author | Oliver Joos <oliver.joos@feller.ch> | 2020-11-27 11:05:39 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2020-12-17 22:43:19 +1100 |
commit | dc1fd4df7360d101952426dd0d1574d3971e50f5 (patch) | |
tree | 6afa7be632c75ff06d0b3ca6291c4cb23740106e /extmod/vfs.c | |
parent | 1719459c28138be009c8dd41f0e6cb3b942eb2dd (diff) | |
download | micropython-dc1fd4df7360d101952426dd0d1574d3971e50f5.tar.gz micropython-dc1fd4df7360d101952426dd0d1574d3971e50f5.zip |
tests/extmod: Add test to try and mount a block device directly.
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.
Diffstat (limited to 'extmod/vfs.c')
0 files changed, 0 insertions, 0 deletions