<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/usbd_msc_storage.c, branch 2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-07-19T03:01:22+00:00</updated>
<entry>
<title>stmhal: Clean up USB CDC/MSC files and remove commented-out code.</title>
<updated>2017-07-19T03:01:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-19T03:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c972c60dbe72d7448faff7f631dfb798b694093e'/>
<id>urn:sha1:c972c60dbe72d7448faff7f631dfb798b694093e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/usbd_msc_storage: Use storage functions instead of disk ones.</title>
<updated>2017-01-27T12:22:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-27T12:10:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3242cf2d364b40fd26a643f1c618e8b51cef0139'/>
<id>urn:sha1:3242cf2d364b40fd26a643f1c618e8b51cef0139</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Include fatfs headers using lib/fatfs prefix.</title>
<updated>2015-03-04T20:35:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-04T20:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4f94d90d4dba522a2fcf451da9c78e810782e2c0'/>
<id>urn:sha1:4f94d90d4dba522a2fcf451da9c78e810782e2c0</id>
<content type='text'>
This helps make files reusable across other ports.
</content>
</entry>
<entry>
<title>stmhal: Add Python-configurable USB HID mode.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-01T21:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d39c7aa517b722161a7dd792fafc5096d58beec8'/>
<id>urn:sha1:d39c7aa517b722161a7dd792fafc5096d58beec8</id>
<content type='text'>
Different HID modes can be configured in Python.  You can either use
predefined mouse or keyboard, or write your own report descriptor.
</content>
</entry>
<entry>
<title>stmhal: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T21:06:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T21:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2cf6dfa280a8149941aafc852fbaae8bdfc4999e'/>
<id>urn:sha1:2cf6dfa280a8149941aafc852fbaae8bdfc4999e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Proposed fix for USB Mass Storage.</title>
<updated>2014-10-01T21:52:02+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-09-30T03:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d368611ea6bd4584b3492b18b179edbb9bb8b07b'/>
<id>urn:sha1:d368611ea6bd4584b3492b18b179edbb9bb8b07b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Change 64-bit arithmetic to 32-bit for SD card block addressing.</title>
<updated>2014-09-15T22:49:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-15T22:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d7fb82f0aec11331635532583617d773888b991'/>
<id>urn:sha1:1d7fb82f0aec11331635532583617d773888b991</id>
<content type='text'>
By measuring SD card addresses in blocks and not bytes, one can get away
with using 32-bit numbers.

This patch also uses proper atomic lock/unlock around SD card
read/write, adds SD.info() function, and gives error code for failed
read/writes.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>Merge pull request #500 from dhylands/fix-sdcard-removed</title>
<updated>2014-04-16T23:23:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-16T23:23:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b08f9212e2a2e2742963eeac2e5d742696a2825a'/>
<id>urn:sha1:b08f9212e2a2e2742963eeac2e5d742696a2825a</id>
<content type='text'>
Fix to allow usbd_msc_storage.c to compile when MICROPY_HW_HAS_SDCARD is...</content>
</entry>
<entry>
<title>stmhal: Improve flash storage cache management.</title>
<updated>2014-04-16T22:08:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-16T22:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d983539bcff2a540dd136a7e84e1db2b334528f'/>
<id>urn:sha1:6d983539bcff2a540dd136a7e84e1db2b334528f</id>
<content type='text'>
Internal flash used for the filesystem is now written (from the cache)
only after a 5s delay, or when a file is closed, or when the drive is
unmounted from the host.  This delay means that multiple writes can
accumulate in the cache, and leads to less writes to the flash, making
it last longer.

It's implemented by a high-priority interrupt that takes care of flash
erase and write, and flushing the cache.

This is still only an interim solution for the flash filesystem.  It
eventually needs to be replaced with something that uses less RAM for
the cache, something that can use more of the flash, and something that
does proper wear levelling.
</content>
</entry>
</feed>
