<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-module/rgbmatrix, branch 6.1.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-11-28T16:54:34+00:00</updated>
<entry>
<title>Use movable allocation system for RGBMatrix allocations.</title>
<updated>2020-11-28T16:54:34+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-10-17T11:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4b84cf0e118f06cc3b563866d5c594b94b9b3fb'/>
<id>urn:sha1:a4b84cf0e118f06cc3b563866d5c594b94b9b3fb</id>
<content type='text'>
Hybrid allocation is now part of the infrastructure. Moving memory contents would not be necessary because displayio can recreate them, but does not hurt.
</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>Merge pull request #3537 from jepler/update-protomatter-2</title>
<updated>2020-10-12T22:45:51+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-10-12T22:45:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1eb1434fc968cb05e3cfd69b40434331404ef5df'/>
<id>urn:sha1:1eb1434fc968cb05e3cfd69b40434331404ef5df</id>
<content type='text'>
rgbmatrix: update protomatter to 1.0.5 tag</content>
</entry>
<entry>
<title>rgbmatrix: Don't crash when setting brightness=0</title>
<updated>2020-10-12T18:28:20+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-10-12T18:26:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9696dbfd388aa4c21b686d4566832964c31f8035'/>
<id>urn:sha1:9696dbfd388aa4c21b686d4566832964c31f8035</id>
<content type='text'>
If the display is paused, `_PM_swapbuffer_maybe` will never return.
So, when brightness is 0, refresh does nothing.  This makes it necessary
to update the display when unpausing.

Closes: #3524
</content>
</entry>
<entry>
<title>rgbmatrix: update protomatter to 1.0.5 tag</title>
<updated>2020-10-10T19:30:37+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-10-10T19:30:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5e38bb98cbcc2d1ab607b19d11e628def4f48f4c'/>
<id>urn:sha1:5e38bb98cbcc2d1ab607b19d11e628def4f48f4c</id>
<content type='text'>
this is compile-tested on
 stm32f405 feather
 matrixportal
 nrf52840 feather

but not actually tested-tested.
</content>
</entry>
<entry>
<title>rgbmatrix: Move struct definition to shared-module, rename 'core' member</title>
<updated>2020-09-02T18:34:16+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2020-09-02T18:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17a5a85528525352ec1821127fafec2acb239196'/>
<id>urn:sha1:17a5a85528525352ec1821127fafec2acb239196</id>
<content type='text'>
</content>
</entry>
<entry>
<title>RGBMatrix: Remove unused, dead allocation</title>
<updated>2020-09-01T16:00:22+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-09-01T15:58:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c083330f8a201d74b120c1f9f83baef8124fae5'/>
<id>urn:sha1:3c083330f8a201d74b120c1f9f83baef8124fae5</id>
<content type='text'>
@tannewt noticed this in a pull request review.  The allocated
memory was never used, but the GC would have collected it eventually.
</content>
</entry>
<entry>
<title>rgbmatrix: Disable timer while reconstructing the display</title>
<updated>2020-09-01T16:00:22+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-08-31T21:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ce603dfebfa9a6ef057110c14c5d5b819eb93069'/>
<id>urn:sha1:ce603dfebfa9a6ef057110c14c5d5b819eb93069</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allocator.h: add a missing license notice</title>
<updated>2020-09-01T16:00:19+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-09-01T16:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dfa90cc11ddf7cd719c448ae9c516bf2b117aa3a'/>
<id>urn:sha1:dfa90cc11ddf7cd719c448ae9c516bf2b117aa3a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rgbmatrix: Don't inline the allocator functions</title>
<updated>2020-09-01T16:00:07+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-08-28T16:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e01ade3848cf828620ea25ada2b2b829dbe180f3'/>
<id>urn:sha1:e01ade3848cf828620ea25ada2b2b829dbe180f3</id>
<content type='text'>
</content>
</entry>
</feed>
