The block device arguments for VfsFat are currently declared as str, which is completely wrong. We should define an abstract class for these in circuitpython_typing. Signatures are as described https://docs.micropython.org/en/latest/library/os.html#os.AbstractBlockDev, though I think the "extended" signatures may not be used by us.
Another bug is that the signature for mkfs() is mkfs(self), which is wrong: it should be a block device.
The block device arguments for VfsFat are currently declared as
str, which is completely wrong. We should define an abstract class for these incircuitpython_typing. Signatures are as described https://docs.micropython.org/en/latest/library/os.html#os.AbstractBlockDev, though I think the "extended" signatures may not be used by us.Another bug is that the signature for
mkfs()ismkfs(self), which is wrong: it should be a block device.