<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/stmhal/usbdev/class/cdc_msc_hid, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>stmhal: Remove obsolete usbdev file.</title>
<updated>2015-02-13T14:03:44+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2015-02-13T14:03:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c385a639e6316cba4ff0e7a859325807857d8f00'/>
<id>c385a639e6316cba4ff0e7a859325807857d8f00</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
</author>
<published>2014-11-01T21:26:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d39c7aa517b722161a7dd792fafc5096d58beec8'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Different HID modes can be configured in Python.  You can either use
predefined mouse or keyboard, or write your own report descriptor.
</pre>
</div>
</content>
</entry>
<entry>
<title>stmhal: Remove unused usbdev files, and move used ones up a dir.</title>
<updated>2015-02-13T14:02:51+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2015-02-03T10:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=b384bcc5de2c20d1d985e2768729578373bd73c1'/>
<id>b384bcc5de2c20d1d985e2768729578373bd73c1</id>
<content type='text'>
The unused files are from the ST demos for different USB classes and are
not needed for the stmhal port.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unused files are from the ST demos for different USB classes and are
not needed for the stmhal port.
</pre>
</div>
</content>
</entry>
<entry>
<title>stmhal: Fill in USB class/subclass/proto for CDC+HID device.</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2014-10-25T00:12:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=21dfd207caf1ea07e7d821d20a19525b72913223'/>
<id>21dfd207caf1ea07e7d821d20a19525b72913223</id>
<content type='text'>
Also change HID device from keyboard to mouse (should have been mouse
all along).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also change HID device from keyboard to mouse (should have been mouse
all along).
</pre>
</div>
</content>
</entry>
<entry>
<title>USB CDC ACM: populate bFunction{Class,SubClass,Protocol} in the interface association descriptor</title>
<updated>2014-10-25T00:14:39+00:00</updated>
<author>
<name>Felix Domke</name>
</author>
<published>2014-10-24T12:54:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a64d5d67b565433a57210aaf1b8a0398c2cc0df9'/>
<id>a64d5d67b565433a57210aaf1b8a0398c2cc0df9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
</author>
<published>2014-09-30T03:12:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d368611ea6bd4584b3492b18b179edbb9bb8b07b'/>
<id>d368611ea6bd4584b3492b18b179edbb9bb8b07b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
</author>
<published>2014-09-15T22:49:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1d7fb82f0aec11331635532583617d773888b991'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>stmhal: Replace magic number 3 with CDC_IN_EP define.</title>
<updated>2014-04-16T22:17:29+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2014-04-16T22:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=28817725fc42df64b409853e002eb1c9d0476cd5'/>
<id>28817725fc42df64b409853e002eb1c9d0476cd5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</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>
</author>
<published>2014-04-16T22:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6d983539bcff2a540dd136a7e84e1db2b334528f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>stmhal: Fix USB MSC so that it unmounts correctly on Mac OS X.</title>
<updated>2014-04-15T18:56:32+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2014-04-15T18:56:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9699ea6a2f85c344296eb0046d9bad8f0c183d1a'/>
<id>9699ea6a2f85c344296eb0046d9bad8f0c183d1a</id>
<content type='text'>
Mac OS X sends a SCSI command to remove the medium when it unmounts a
drive.  If this command is not honoured, then OS X will automatically
remount the drive, making it impossible to eject.  This patch disables
the USB MSC when the right SCSI command is sent.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mac OS X sends a SCSI command to remove the medium when it unmounts a
drive.  If this command is not honoured, then OS X will automatically
remount the drive, making it impossible to eject.  This patch disables
the USB MSC when the right SCSI command is sent.
</pre>
</div>
</content>
</entry>
</feed>
