<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor, branch 6.1.0-beta.2</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-beta.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.1.0-beta.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2020-12-02T20:51:43+00:00</updated>
<entry>
<title>Merge pull request #3767 from dhalbert/sleep</title>
<updated>2020-12-02T20:51:43+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@adafruit.com</email>
</author>
<published>2020-12-02T20:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d7ba641ff646b48e5ad38ff72a2dcfe17bb54624'/>
<id>urn:sha1:d7ba641ff646b48e5ad38ff72a2dcfe17bb54624</id>
<content type='text'>
Initial alarm and sleep PR: time alarms with light and deep sleep; PinAlarms not yet implemented</content>
</entry>
<entry>
<title>Eliminate goto.</title>
<updated>2020-11-30T22:33:38+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-11-30T22:33:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d6f8a43f6cc755b90376a66b75818744fbe63320'/>
<id>urn:sha1:d6f8a43f6cc755b90376a66b75818744fbe63320</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize out allocation moving code on boards that don't need it.</title>
<updated>2020-11-29T15:27:36+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-11-29T15:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=11ed6f86f02f61ace55951d2fff62a9d36cf3ac7'/>
<id>urn:sha1:11ed6f86f02f61ace55951d2fff62a9d36cf3ac7</id>
<content type='text'>
When no features are enabled that use movable allocations, supervisor_move_memory() is not needed.
</content>
</entry>
<entry>
<title>Unify redundant low/high_address computation to save a bit of code size.</title>
<updated>2020-11-29T15:04:31+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-11-29T15:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9ecaa16eced40f3f56ba67737aed3f0950c5164f'/>
<id>urn:sha1:9ecaa16eced40f3f56ba67737aed3f0950c5164f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make CIRCUITPY_SUPERVISOR_ALLOC_COUNT dependent on enabled features.</title>
<updated>2020-11-28T16:54:34+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-10-28T20:50:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=993a581f5e8c039b562bbacdf17615162d8a85f6'/>
<id>urn:sha1:993a581f5e8c039b562bbacdf17615162d8a85f6</id>
<content type='text'>
Avoids wasted memory and makes it easier to keep track of who needs how much for future additions.
</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>Use movable allocation system for terminal tilegrid.</title>
<updated>2020-11-28T16:54:34+00:00</updated>
<author>
<name>Christian Walther</name>
<email>cwalther@gmx.ch</email>
</author>
<published>2020-10-11T18:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ba9805f845e000fa3299e95e93a063471751ecd'/>
<id>urn:sha1:2ba9805f845e000fa3299e95e93a063471751ecd</id>
<content type='text'>
Moving memory is now done by the infrastructure and neither necessary nor correct here anymore.
</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>working! PinAlarm not implemented yet.</title>
<updated>2020-11-27T21:03:37+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-27T21:02:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e308a9ec1134412f6194358790176d17b0724ef1'/>
<id>urn:sha1:e308a9ec1134412f6194358790176d17b0724ef1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge from upstream + wip</title>
<updated>2020-11-25T22:52:06+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-11-25T22:52:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef0830bfe241b544b05bd3081f5bba03af57fe0d'/>
<id>urn:sha1:ef0830bfe241b544b05bd3081f5bba03af57fe0d</id>
<content type='text'>
</content>
</entry>
</feed>
