<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-module/usb_midi, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-04-02T10:57:56+00:00</updated>
<entry>
<title>update tinyusb to fix midi buffer overflow issue</title>
<updated>2021-04-02T10:57:56+00:00</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2021-04-02T10:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7c3975ecf236b3da573af7dc345801e02022c163'/>
<id>urn:sha1:7c3975ecf236b3da573af7dc345801e02022c163</id>
<content type='text'>
</content>
</entry>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix align32_size().</title>
<updated>2020-11-28T16:54:34+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-10-23T20:35:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7ca36d45a4ffe40c70814d62cb970007b7f40fee'/>
<id>urn:sha1:7ca36d45a4ffe40c70814d62cb970007b7f40fee</id>
<content type='text'>
It not only caused crashes with requests larger than 64K (can happen with RGBMatrix), but also generated a lot longer code than necessary.
</content>
</entry>
<entry>
<title>Add movable allocation system.</title>
<updated>2020-11-28T16:50:23+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-10-11T12:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c7404a3ff89c738c002ec63448a58d56330dfcc3'/>
<id>urn:sha1:c7404a3ff89c738c002ec63448a58d56330dfcc3</id>
<content type='text'>
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap.

By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
</content>
</entry>
<entry>
<title>update tinyusb lib to 0.5.x</title>
<updated>2019-07-24T09:46:31+00:00</updated>
<author>
<name>hathach</name>
<email>thach@tinyusb.org</email>
</author>
<published>2019-07-24T09:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c921f6637f55936726a880f225812302a3fdf0d1'/>
<id>urn:sha1:c921f6637f55936726a880f225812302a3fdf0d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove usb_midi.PortIn and PortOut constructors.</title>
<updated>2019-02-07T04:22:15+00:00</updated>
<author>
<name>Craig Forbes</name>
<email>cpforbes@starlake.org</email>
</author>
<published>2019-02-07T04:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=de43911a6870eaeb3a8e18d6a5698c77d4e3c6fb'/>
<id>urn:sha1:de43911a6870eaeb3a8e18d6a5698c77d4e3c6fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Polish thanks to Dan's feedback</title>
<updated>2019-01-10T19:00:40+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-01-10T19:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3dd59c3d5fa59f5bea3acc8e55c4d4a5091e66eb'/>
<id>urn:sha1:3dd59c3d5fa59f5bea3acc8e55c4d4a5091e66eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add USB MIDI support for SAMD and nRF.</title>
<updated>2019-01-09T22:02:11+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-11-17T01:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b5e40f52c2b1c2890c866d7305e0e99b4811b7f5'/>
<id>urn:sha1:b5e40f52c2b1c2890c866d7305e0e99b4811b7f5</id>
<content type='text'>
The API should be identical to using a UART for MIDI.

Fixes #672
</content>
</entry>
</feed>
