<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/main.c, branch 4.0.0-alpha</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=4.0.0-alpha'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-07-03T12:45:50+00:00</updated>
<entry>
<title>Mark pointers in cpu registers as in use.</title>
<updated>2018-07-03T12:45:50+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2018-06-28T17:36:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ec78d3cefdd98b317a01840e172e7453013ada0c'/>
<id>urn:sha1:ec78d3cefdd98b317a01840e172e7453013ada0c</id>
<content type='text'>
This prevents bugs where gc_collect is called from C code that did
a recent allocation.
</content>
</entry>
<entry>
<title>Fix playing audio from SD card</title>
<updated>2018-06-14T22:47:40+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-06-14T22:47:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e724bc1c4eb1224aa043a1489b29ec3daaa832aa'/>
<id>urn:sha1:e724bc1c4eb1224aa043a1489b29ec3daaa832aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>main: move code pertaining to boot.py out of line</title>
<updated>2018-06-06T13:01:17+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2018-06-06T13:01:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=654591e11f45075b0a7534fd52c98fef6082c703'/>
<id>urn:sha1:654591e11f45075b0a7534fd52c98fef6082c703</id>
<content type='text'>
.. this reduces stack usage in main() substantially, because
the 512 byte stack allocation will only exist during the new run_boot_py
function's duration.

Closes: #904
</content>
</entry>
<entry>
<title>main: Explicitly set the stack top based on _estack</title>
<updated>2018-06-06T03:04:55+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@unpythonic.net</email>
</author>
<published>2018-06-06T03:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4e06bd998a1fb2d2dd209524d8ccd69b18712e6'/>
<id>urn:sha1:a4e06bd998a1fb2d2dd209524d8ccd69b18712e6</id>
<content type='text'>
.. setting it based on the ad-hoc stack pointer calculation of
mp_stack_ctrl_init() meant that the stack used above main() counts
against the 1KiB safety factor that the mp_stack_set_limit call tries
to establish.  It turns out, at least on M4, that over half of the
safety factor is used up by stack-above-main()!

In the case of the basics/gen_stack_overflow.py test,
which blows the stack on purpose, it turns out that gc would be called
while handling the "maximum recursion depth exceeded" error, and this
needed more stack than was left.

Closes: #900
</content>
</entry>
<entry>
<title>wasn't always clearing boot_output_file</title>
<updated>2018-05-19T05:01:37+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-05-19T05:01:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=990da6d3637da3eafb0f9a71bc9e26e006e82195'/>
<id>urn:sha1:990da6d3637da3eafb0f9a71bc9e26e006e82195</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename reload_next_character to reload_requested to make it match it's intended use</title>
<updated>2018-05-14T21:00:38+00:00</updated>
<author>
<name>Roy Hooper</name>
<email>rhooper@toybox.ca</email>
</author>
<published>2018-05-14T21:00:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=698912633fab70b7a0fa19a84c730face41b10ff'/>
<id>urn:sha1:698912633fab70b7a0fa19a84c730face41b10ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>clarify comment</title>
<updated>2018-05-07T04:08:26+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-05-07T04:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=224e245e05d12e7261a9c0ff31406efc7bdaf806'/>
<id>urn:sha1:224e245e05d12e7261a9c0ff31406efc7bdaf806</id>
<content type='text'>
</content>
</entry>
<entry>
<title>boot.py change of filesystem writability would get overridden.</title>
<updated>2018-05-07T03:48:11+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-05-07T03:48:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fc214fb320cd91f3477945ca24ba777e71c9d602'/>
<id>urn:sha1:fc214fb320cd91f3477945ca24ba777e71c9d602</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minor function API improvement</title>
<updated>2018-05-04T12:28:05+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-05-04T12:28:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f73e06d9108e4e5a0d5b8faed7d5c9819e1cc37d'/>
<id>urn:sha1:f73e06d9108e4e5a0d5b8faed7d5c9819e1cc37d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Handle bad power on reset.</title>
<updated>2018-05-04T03:43:02+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2018-05-04T03:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f486ead84a44846996c66d117de391fab048b01b'/>
<id>urn:sha1:f486ead84a44846996c66d117de391fab048b01b</id>
<content type='text'>
</content>
</entry>
</feed>
