<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod/fsusermount.c, branch 1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-07-06T17:45:42+00:00</updated>
<entry>
<title>atmel-samd: Give the on board flash filesystem a unique volume ID. This is useful for identifying filesystem mounts and matching them up to hardware.</title>
<updated>2017-07-06T17:45:42+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott.shawcroft@gmail.com</email>
</author>
<published>2017-07-06T17:45:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0c4b273f24d9d4291770a20d392ba3275e29e518'/>
<id>urn:sha1:0c4b273f24d9d4291770a20d392ba3275e29e518</id>
<content type='text'>
</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>
<entry>
<title>extmod/fsusermount: Change block protocol to support ioctl method.</title>
<updated>2016-02-10T08:59:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-09T14:28:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c33ad60a676d46cb18883beedd6c383d6fae9dd8'/>
<id>urn:sha1:c33ad60a676d46cb18883beedd6c383d6fae9dd8</id>
<content type='text'>
The new block protocol is:
- readblocks(self, n, buf)
- writeblocks(self, n, buf)
- ioctl(self, cmd, arg)

The new ioctl method handles the old sync and count methods, as well as
a new "get sector size" method.

The old protocol is still supported, and used if the device doesn't have
the ioctl method.
</content>
</entry>
</feed>
