<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/main.c, branch v1.9.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-03-31T11:29:39+00:00</updated>
<entry>
<title>all: Use full path name when including mp-readline/timeutils/netutils.</title>
<updated>2017-03-31T11:29:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-31T11:29:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b6c7e4b143d96ff9f84ccb22d83b1e15ab084250'/>
<id>urn:sha1:b6c7e4b143d96ff9f84ccb22d83b1e15ab084250</id>
<content type='text'>
This follows the pattern of how all other headers are now included, and
makes it explicit where the header file comes from.  This patch also
removes -I options from Makefile's that specify the mp-readline/timeutils/
netutils directories, which are no longer needed.
</content>
</entry>
<entry>
<title>extmod/vfs_fat: Remove obsolete and unused str/len members.</title>
<updated>2017-03-10T08:09:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-10T08:09:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=12d0731b91d8e58ba20ec28adf2d6c1aa995d74a'/>
<id>urn:sha1:12d0731b91d8e58ba20ec28adf2d6c1aa995d74a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/main: Allocate flash's VFS struct on the heap to trace root ptrs.</title>
<updated>2017-03-10T08:02:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-10T08:02:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8236d18338f6d8db25dcc5e81b176b006d56f39d'/>
<id>urn:sha1:8236d18338f6d8db25dcc5e81b176b006d56f39d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Use mp_hal_delay_ms instead of HAL_Delay.</title>
<updated>2017-03-02T04:02:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-02T04:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6ab5512132d5b3d19a5bf029cb27829d41e76f8e'/>
<id>urn:sha1:6ab5512132d5b3d19a5bf029cb27829d41e76f8e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/main: Remove unnecessary header includes.</title>
<updated>2017-02-17T02:07:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-17T02:07:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c9b0f0b248ffc95545abc2347106fc3684d3c002'/>
<id>urn:sha1:c9b0f0b248ffc95545abc2347106fc3684d3c002</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Implement a proper thread scheduler.</title>
<updated>2017-02-15T02:28:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-06T04:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=05a4859585c4e0a55fca2e7467ba70da6453fdcb'/>
<id>urn:sha1:05a4859585c4e0a55fca2e7467ba70da6453fdcb</id>
<content type='text'>
This patch changes the threading implementation from simple round-robin
with busy waits on mutexs, to proper scheduling whereby threads that are
waiting on a mutex are only scheduled when the mutex becomes available.
</content>
</entry>
<entry>
<title>stmhal: Add ability to skip booting from SD card via /flash/SKIPSD file.</title>
<updated>2017-02-07T01:35:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-07T01:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9779c99317f229435c07f11fd18223956de77b41'/>
<id>urn:sha1:9779c99317f229435c07f11fd18223956de77b41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Fix build issue when MICROPY_PY_THREAD is disabled.</title>
<updated>2017-01-31T08:52:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-31T08:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8e008449298d95addf6bd56f448b0d100b163399'/>
<id>urn:sha1:8e008449298d95addf6bd56f448b0d100b163399</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal/main: Use _estack value to initialise stack extents.</title>
<updated>2017-01-31T07:43:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-31T05:02:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=00e717662449cacdb2bc40988b12831749a7369b'/>
<id>urn:sha1:00e717662449cacdb2bc40988b12831749a7369b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Initial implementation of multithreading, currently disabled.</title>
<updated>2017-01-31T07:42:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-01-31T02:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=882ec01e42227445a63f6d5b38cac14d8635f2ad'/>
<id>urn:sha1:882ec01e42227445a63f6d5b38cac14d8635f2ad</id>
<content type='text'>
This patch brings the _thread module to stmhal/pyboard.  There is a very
simple round-robin thread scheduler, which is disabled if there is only
one thread (for efficiency when threading is not used).

The scheduler currently switches threads at a rate of 250Hz using the
systick timer and the pend-SV interrupt.

The GIL is disabled so one must be careful to use lock objects to prevent
concurrent access of objects.

The threading is disabled by default, one can enabled it with the config
option MICROPY_PY_THREAD to test it out.
</content>
</entry>
</feed>
