<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor/shared/external_flash/external_flash.c, 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-03-25T18:37:08+00:00</updated>
<entry>
<title>Fix devices include by splitting type from defines</title>
<updated>2021-03-25T18:37:08+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2021-03-25T17:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=01c153cd7e8bace50892050a13b15201a674df37'/>
<id>urn:sha1:01c153cd7e8bace50892050a13b15201a674df37</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>Automatically count EXTERNAL_FLASH_DEVICES (mk2)</title>
<updated>2021-03-07T18:51:47+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2021-03-07T18:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=32475ce98c2eaa13240fa24e713ce3d5df60afd9'/>
<id>urn:sha1:32475ce98c2eaa13240fa24e713ce3d5df60afd9</id>
<content type='text'>
Instead of counting words in make, which is slightly awful, notice that
possible_devices is local to external_flash.c, so we can declare the array
with an automatic bound, and then get the count as the element-count
(MP_ARRAY_SIZE) of the array.

Since EXTERNAL_FLASH_DEVICE_COUNT is no longer a global macro, switch
a few sites to using EXTERNAL_FLASH_DEVICES in `#if` checks instead.
</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>More erroneous else statements</title>
<updated>2020-05-09T19:16:04+00:00</updated>
<author>
<name>Max Holliday</name>
<email>maholli@stanford.edu</email>
</author>
<published>2020-05-09T19:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=964040b7702a66f44aa8e9f4af6cf74712ed44ed'/>
<id>urn:sha1:964040b7702a66f44aa8e9f4af6cf74712ed44ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Unified single_status_byte &amp; no_reset_cmd behavior</title>
<updated>2020-05-09T19:09:01+00:00</updated>
<author>
<name>Max Holliday</name>
<email>maholli@stanford.edu</email>
</author>
<published>2020-05-09T19:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b6587a0c646089608b0c8bbace97a73462cf88f'/>
<id>urn:sha1:8b6587a0c646089608b0c8bbace97a73462cf88f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removing erroneous else statements </title>
<updated>2020-05-09T19:03:26+00:00</updated>
<author>
<name>Max Holliday</name>
<email>maholli@stanford.edu</email>
</author>
<published>2020-05-09T19:03:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9e01bb213617fd46723f3dbb869ba51c1985ac21'/>
<id>urn:sha1:9e01bb213617fd46723f3dbb869ba51c1985ac21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'master' into non-standard-nvm</title>
<updated>2020-05-04T20:08:45+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@adafruit.com</email>
</author>
<published>2020-05-04T20:08:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c377d4bea79710bdf3880dfdbd2970f1ee7fc373'/>
<id>urn:sha1:c377d4bea79710bdf3880dfdbd2970f1ee7fc373</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fixing diff error</title>
<updated>2020-04-29T01:15:38+00:00</updated>
<author>
<name>Max Holliday</name>
<email>maholli@stanford.edu</email>
</author>
<published>2020-04-29T01:15:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cc290c50c677e16ccdddae74ab0861c9101727fc'/>
<id>urn:sha1:cc290c50c677e16ccdddae74ab0861c9101727fc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>decoupling chip specific functions from EXTERNAL_FLASH_QSPI_SINGLE</title>
<updated>2020-04-28T18:51:07+00:00</updated>
<author>
<name>Max Holliday</name>
<email>maholli@stanford.edu</email>
</author>
<published>2020-04-28T18:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6c4decd4e280d30c6b45ed74ac3e0c9b12194cd9'/>
<id>urn:sha1:6c4decd4e280d30c6b45ed74ac3e0c9b12194cd9</id>
<content type='text'>
</content>
</entry>
</feed>
