• Paul Sokolovsky's avatar
    extmod/vfs_fat: Object-oriented encapsulation of FatFs VFS. · e9be6a37
    Paul Sokolovsky authored
    This implements OO interface based on existing fsusermount code and with
    minimal changes to it, to serve as a proof of concept of OO interface.
    
    Examle of usage:
    
    bdev = RAMFS(48)
    uos.VfsFat.mkfs(bdev)
    vfs = uos.VfsFat(bdev, "/ramdisk")
    f = vfs.open("foo", "w")
    f.write("hello!")
    f.close()
    e9be6a37