<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/fsusermount.c, branch 6.0.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.0.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-01-30T01:26:07+00:00</updated>
<entry>
<title>extmod: Remove MICROPY_FSUSERMOUNT and related files.</title>
<updated>2017-01-30T01:26:07+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-29T04:21:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1808b2e8d5c9fff8020628a7849a537ffa9790e3'/>
<id>urn:sha1:1808b2e8d5c9fff8020628a7849a537ffa9790e3</id>
<content type='text'>
Replaced by MICROPY_VFS and the VFS sub-system.
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Rework so it can optionally use OO version of FatFS.</title>
<updated>2017-01-27T02:19:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-06-01T16:00:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f5f4cdae89ed040ae9209a380cf968254434e819'/>
<id>urn:sha1:f5f4cdae89ed040ae9209a380cf968254434e819</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Use mp_raise_OSError helper function.</title>
<updated>2016-10-07T02:44:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-07T02:44:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=620c4c32bf1ad3123d0b5a326fede444149651c3'/>
<id>urn:sha1:620c4c32bf1ad3123d0b5a326fede444149651c3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>esp8266/modous: Add os.umount method to unmount a filesystem.</title>
<updated>2016-08-26T02:45:21+00:00</updated>
<author>
<name>Radomir Dopieralski</name>
<email>openstack@sheep.art.pl</email>
</author>
<published>2016-08-22T14:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d29ca28288581ca788e468528ea1680b99eb49e5'/>
<id>urn:sha1:d29ca28288581ca788e468528ea1680b99eb49e5</id>
<content type='text'>
This is an object-oriented approach, where uos is only a proxy for the
methods on the vfs object.  Some internals had to be exposed (the STATIC
keyword removed) for this to work.

Fixes #2338.
</content>
</entry>
<entry>
<title>extmod: When including extmod headers, prefix path with extmod/.</title>
<updated>2016-05-20T11:46:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-20T11:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f9dc644017a03c5dac5c0798e4c45310b8cfc8e8'/>
<id>urn:sha1:f9dc644017a03c5dac5c0798e4c45310b8cfc8e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/fsusermount: In mount/mkfs, deregister VFS object on error.</title>
<updated>2016-04-14T22:36:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-14T22:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bcd719ea3afa9d4dd8e1d8f5168e60e5c9fa992e'/>
<id>urn:sha1:bcd719ea3afa9d4dd8e1d8f5168e60e5c9fa992e</id>
<content type='text'>
Should fix issue #1947.
</content>
</entry>
<entry>
<title>extmod/fsusermount,vfs_fat: Nanbox cleanness.</title>
<updated>2016-02-14T17:15:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-14T14:21:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1bb15ca427994082ef63672a0b1a23da34f383bc'/>
<id>urn:sha1:1bb15ca427994082ef63672a0b1a23da34f383bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Object-oriented encapsulation of FatFs VFS.</title>
<updated>2016-02-14T17:15:21+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T20:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9be6a378c23ece54521fb9098fda028f6c7d88f'/>
<id>urn:sha1:e9be6a378c23ece54521fb9098fda028f6c7d88f</id>
<content type='text'>
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()
</content>
</entry>
<entry>
<title>extmod/fsusermount: umount: Add NULL pointer checks.</title>
<updated>2016-02-13T20:55:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-02-13T19:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bf904b238d7fa1a6eb82427ec803170f84c0b2e8'/>
<id>urn:sha1:bf904b238d7fa1a6eb82427ec803170f84c0b2e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/fsusermount: Support mounting of multiple block devices.</title>
<updated>2016-02-10T23:40:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-10T16:32:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b33a7705966a743c5e4c0c3c3bb83e6d97b5e84d'/>
<id>urn:sha1:b33a7705966a743c5e4c0c3c3bb83e6d97b5e84d</id>
<content type='text'>
This patch adds support to fsusermount for multiple block devices
(instead of just one).  The maximum allowed is fixed at compile time by
the size of the fs_user_mount array accessed via MP_STATE_PORT, which
in turn is set by MICROPY_FATFS_VOLUMES.

With this patch, stmhal (which is still tightly coupled to fsusermount)
is also modified to support mounting multiple devices   And the flash and
SD card are now just two block devices that are mounted at start up if
they exist (and they have special native code to make them more
efficient).
</content>
</entry>
</feed>
