<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/shared-module/rgbmatrix/allocator.h, branch 6.1.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-10-10T19:30:37+00:00</updated>
<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>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>
<entry>
<title>rgbmatrix: recover gracefully from allocation errors</title>
<updated>2020-09-01T15:55:45+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-08-28T16:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2f120c70eee692b8e036f8f0778af2b723e1f0e7'/>
<id>urn:sha1:2f120c70eee692b8e036f8f0778af2b723e1f0e7</id>
<content type='text'>
e.g., allocating a 192x32x6bpp matrix would be enough to trigger this
reliably on a Metro M4 Express using the "memory hogging" layout.
Allocating 64x32x6bpp could trigger it, but somewhat unreliably.

There are several things going on here:
 * we make the failing call with interrupts off
 * we were throwing an exception with interrupts off
 * protomatter failed badly in _PM_free when it was partially-initialized

Incorporate the fix from protomatter, switch to a non-throwing malloc
variant, and ensure that interrupts get turned back on.

This decreases the quality of the MemoryError (it cannot report the size
of the failed allocation) but allows CircuitPython to survive, rather
than faulting.
</content>
</entry>
<entry>
<title>RGBMatrix: finish renaming from Protomatter</title>
<updated>2020-04-17T23:44:07+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-04-15T20:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5fcc6d62869310b2b1dd96279e5a121623e07aba'/>
<id>urn:sha1:5fcc6d62869310b2b1dd96279e5a121623e07aba</id>
<content type='text'>
This gets all the purely internal references.  Some uses of
protomatter/Protomatter/PROTOMATTER remain, as they are references
to symbols in the Protomatter C library itself.
</content>
</entry>
<entry>
<title>Rename Protomatter -&gt; RGBMatrix</title>
<updated>2020-04-17T23:43:57+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2020-04-15T16:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d6258f63dce84519704251b86a16c832958c8a6'/>
<id>urn:sha1:3d6258f63dce84519704251b86a16c832958c8a6</id>
<content type='text'>
This is a quick rename, it changes the user-facing names but not the
internal names of things.
</content>
</entry>
</feed>
