<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal, branch v1.3.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-09-25T14:47:53+00:00</updated>
<entry>
<title>stmhal: Enable 8-byte stack alignment for IRQ handlers.</title>
<updated>2014-09-25T14:47:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-25T14:47:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ac04a8a56a1591ddbaf6558b8eab9837a7d2f3cb'/>
<id>urn:sha1:ac04a8a56a1591ddbaf6558b8eab9837a7d2f3cb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal, timer: Factor code to compute PWM percent; improve 32bit case.</title>
<updated>2014-09-25T14:44:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-25T14:44:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e8ea0724da1b2fd6f6eb1cc99154072159fc2c8d'/>
<id>urn:sha1:e8ea0724da1b2fd6f6eb1cc99154072159fc2c8d</id>
<content type='text'>
Also do the same for teensy timer code.
</content>
</entry>
<entry>
<title>Merge pull request #868 from dhylands/fix-teensy-float</title>
<updated>2014-09-25T13:51:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-25T13:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3fafe730d3368edbff76305f531f30f655b03532'/>
<id>urn:sha1:3fafe730d3368edbff76305f531f30f655b03532</id>
<content type='text'>
Add pulse_width_percent to teensy.</content>
</entry>
<entry>
<title>Add pulse_width_percent to teensy.</title>
<updated>2014-09-24T06:19:36+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-09-22T05:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=53d5fa641f322739ca372adcd1d4b53d5e2c0357'/>
<id>urn:sha1:53d5fa641f322739ca372adcd1d4b53d5e2c0357</id>
<content type='text'>
Fix stmhal and teensy print routines to report actual prescaler an period.
Fix teensy build to use soft-float
Add USE_ARDUINO_TOOLCHAIN option to teensy build
</content>
</entry>
<entry>
<title>py: Free non-interned strings in the parser when not needed.</title>
<updated>2014-09-23T15:31:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-23T15:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=52b5d76a6b0c5e4c779211fdf7bca56d87a2f83e'/>
<id>urn:sha1:52b5d76a6b0c5e4c779211fdf7bca56d87a2f83e</id>
<content type='text'>
mp_parse_node_free now frees the memory associated with non-interned
strings.  And the parser calls mp_parse_node_free when discarding a
non-used node (such as a doc string).

Also, the compiler now frees the parse tree explicitly just before it
exits (as opposed to relying on the caller to do this).

Addresses issue #708 as best we can.
</content>
</entry>
<entry>
<title>stmhal: Initialise stack pointer correctly.</title>
<updated>2014-09-23T09:59:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-23T09:59:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=eaaebf3291a12ff65ca5c7f16e0d486fbde10efa'/>
<id>urn:sha1:eaaebf3291a12ff65ca5c7f16e0d486fbde10efa</id>
<content type='text'>
Stack is full descending and must be 8-byte aligned.  It must start off
pointing to just above the last byte of RAM.

Previously, stack started pointed to last byte of RAM (eg 0x2001ffff)
and so was not 8-byte aligned.  This caused a bug in combination with
alloca.

This patch also updates some debug printing code.

Addresses issue #872 (among many other undiscovered issues).
</content>
</entry>
<entry>
<title>stmhal: Add pulse_width_ratio to timer channel object.</title>
<updated>2014-09-21T21:54:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-21T21:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0e58c5810de2717f9707e9eef82cd57a43468a60'/>
<id>urn:sha1:0e58c5810de2717f9707e9eef82cd57a43468a60</id>
<content type='text'>
This allows to set the pulse width (for PWM mode) as a ratio relative to
the period of the timer.  Eg, 0.5 is a 50% duty cycle.  You can set the
ratio in the channel init, or using channel.pulse_width_ratio; the
latter can also read the pulse width as a ratio.
</content>
</entry>
<entry>
<title>Add Timer support (PWM, OC, IC) for stmhal and teensy</title>
<updated>2014-09-19T16:26:13+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-08-20T20:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=becbc87fd73c98664b472b4a06c2b54558dd5669'/>
<id>urn:sha1:becbc87fd73c98664b472b4a06c2b54558dd5669</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Fix bugs in documentation so it compiles.</title>
<updated>2014-09-17T23:27:42+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-17T23:27:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2842945e760c98793cb0c62a66345ab8850afc1a'/>
<id>urn:sha1:2842945e760c98793cb0c62a66345ab8850afc1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add native json printing using existing print framework.</title>
<updated>2014-09-17T21:56:34+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-17T21:56:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=612045f53f7e5edf9faa359ee9ee52d490d58000'/>
<id>urn:sha1:612045f53f7e5edf9faa359ee9ee52d490d58000</id>
<content type='text'>
Also add start of ujson module with dumps implemented.  Enabled in unix
and stmhal ports.  Test passes on both.
</content>
</entry>
</feed>
