<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal/systick.c, branch esp-extra-scripts</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=esp-extra-scripts'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-07-29T23:38:25+00:00</updated>
<entry>
<title>stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.</title>
<updated>2015-07-29T23:38:25+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-07-28T15:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea8bf8105812b36fbf1596a78c6e14aa0a0c5a36'/>
<id>urn:sha1:ea8bf8105812b36fbf1596a78c6e14aa0a0c5a36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Prefix includes with py/; remove need for -I../py.</title>
<updated>2015-01-01T21:06:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-01T21:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2cf6dfa280a8149941aafc852fbaae8bdfc4999e'/>
<id>urn:sha1:2cf6dfa280a8149941aafc852fbaae8bdfc4999e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Make pyb.[u]delay use systick with IRQs, busy loop otherwise.</title>
<updated>2014-11-30T21:23:25+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-30T21:23:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1960475ed7e190bcf537f8f7714a543b7513e2d5'/>
<id>urn:sha1:1960475ed7e190bcf537f8f7714a543b7513e2d5</id>
<content type='text'>
pyb.delay and pyb.udelay now use systick if IRQs are enabled, otherwise
they use a busy loop.  Thus they work correctly when IRQs are disabled.
The busy loop is computed from the current CPU frequency, so works no
matter the CPU frequency.
</content>
</entry>
<entry>
<title>stmhal: Improve efficiency of SysTick IRQ and HAL_Delay.</title>
<updated>2014-08-25T17:12:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-25T17:12:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34e43c7ee9700249dc6e5b333b7c264d45d6b530'/>
<id>urn:sha1:34e43c7ee9700249dc6e5b333b7c264d45d6b530</id>
<content type='text'>
SysTick IRQ now increases millisecond counter directly (ie without
calling HAL_IncTick).  Provide our own version of HAL_Delay that does a
wfi while waiting.  This more than halves power consumption when running
a loop containing a pyb.delay call.  It used to be like this, but new
version of HAL library regressed this feature.
</content>
</entry>
<entry>
<title>stmhal: Use MP_OBJ_NEW_SMALL_INT directly in pyb.micros/millis.</title>
<updated>2014-08-25T16:38:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-25T16:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=29c92a407c8fa04a205f10c4efdb5696e0cf0b58'/>
<id>urn:sha1:29c92a407c8fa04a205f10c4efdb5696e0cf0b58</id>
<content type='text'>
Also some whitespace cleanup.
</content>
</entry>
<entry>
<title>Add support for pyb.micros() by using the systick timer.</title>
<updated>2014-08-25T16:38:55+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-08-23T19:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bf044442eae7dbdaff91051d2c135b4aa51f1b2'/>
<id>urn:sha1:2bf044442eae7dbdaff91051d2c135b4aa51f1b2</id>
<content type='text'>
I also removed trailing spaces from modpyb.c which affected a couple
of lines technically not part of this patch.

Tested using: https://github.com/dhylands/upy-examples/blob/master/micros_test.py

which eventually fails due to wraparound issues (I could fix the test to compensate
but didn't bother)
</content>
</entry>
<entry>
<title>stmhal: Include mpconfig.h before all other includes.</title>
<updated>2014-06-28T20:32:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-28T20:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8139494e54b5ad1630f30490216e9486b976bdb8'/>
<id>urn:sha1:8139494e54b5ad1630f30490216e9486b976bdb8</id>
<content type='text'>
It defines types used by all other headers.

Fixes #691.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>stmhal - More systick cleanup. Fix HAL_Delay</title>
<updated>2014-03-13T23:17:01+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-03-13T22:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9db719bb57626d72ab84ab0ccd2294bf89158762'/>
<id>urn:sha1:9db719bb57626d72ab84ab0ccd2294bf89158762</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup systick for stmhal</title>
<updated>2014-03-13T21:40:49+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-03-13T21:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ef39f2d9cac6fc50b1bbae9d16da371649dfa6e2'/>
<id>urn:sha1:ef39f2d9cac6fc50b1bbae9d16da371649dfa6e2</id>
<content type='text'>
</content>
</entry>
</feed>
