<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython, branch v1.4</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-03-29T17:01:19+00:00</updated>
<entry>
<title>docs: Bump version to 1.4.</title>
<updated>2015-03-29T17:01:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-29T17:01:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=64e8b622917156bfe3a7ca3698072188be1ab862'/>
<id>urn:sha1:64e8b622917156bfe3a7ca3698072188be1ab862</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests/class_descriptor.py: Fix line-endings (were CRLF).</title>
<updated>2015-03-27T23:07:00+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-03-27T23:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ad038ca1015c5b3693d458bdd86bc7bc2fe44e2d'/>
<id>urn:sha1:ad038ca1015c5b3693d458bdd86bc7bc2fe44e2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add optional support for descriptors' __get__ and __set__ methods.</title>
<updated>2015-03-26T23:55:14+00:00</updated>
<author>
<name>stijn</name>
<email>stinos@zoho.com</email>
</author>
<published>2015-02-14T17:43:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=28fa84b4454ef253dfba5f1ceb023be2184a7271'/>
<id>urn:sha1:28fa84b4454ef253dfba5f1ceb023be2184a7271</id>
<content type='text'>
Disabled by default.  Enabled on unix and windows ports.
</content>
</entry>
<entry>
<title>docs: uctypes: Describe bytes_at(), bytearray_at().</title>
<updated>2015-03-26T22:19:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-03-26T22:18:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c260836beb10b1d81c98732c2b7282eb6675140a'/>
<id>urn:sha1:c260836beb10b1d81c98732c2b7282eb6675140a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: Remove unneeded SPI instruction in the simplelink driver.</title>
<updated>2015-03-26T19:50:39+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-03-26T19:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1eba62cac9473b69712effb3fa30bb3f9f9b6b1b'/>
<id>urn:sha1:1eba62cac9473b69712effb3fa30bb3f9f9b6b1b</id>
<content type='text'>
Setting the word count before a SPI transaction is only needed when
using DMA.
</content>
</entry>
<entry>
<title>cc3200: Increase main stack size to 2K.</title>
<updated>2015-03-26T19:50:38+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-03-26T19:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1826036a8363de825668185c3d5b4efd2820d353'/>
<id>urn:sha1:1826036a8363de825668185c3d5b4efd2820d353</id>
<content type='text'>
Increasing it from 1K to 2K gives more freedom to the callback
handlers, before this, simply nesting a function call into a
printf would cause a stack overflow.
</content>
</entry>
<entry>
<title>py: Increase fixed size of stack-info in native emitter.</title>
<updated>2015-03-26T17:54:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-26T17:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=51229afbded35a900215c83f482997a613efbbe7'/>
<id>urn:sha1:51229afbded35a900215c83f482997a613efbbe7</id>
<content type='text'>
This is a temporary fix.
</content>
</entry>
<entry>
<title>py, compiler: When just bytecode, make explicit calls instead of table.</title>
<updated>2015-03-26T16:52:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-26T16:44:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4112590a602fa11b4d9a3df3ed5c55df56c0dc62'/>
<id>urn:sha1:4112590a602fa11b4d9a3df3ed5c55df56c0dc62</id>
<content type='text'>
When just the bytecode emitter is needed there is no need to have a
dynamic method table for the emitter back-end, and we can instead
directly call the mp_emit_bc_XXX functions.  This gives a significant
reduction in code size and a very slight performance boost for the
compiler.

This patch saves 1160 bytes code on Thumb2 and 972 bytes on x86, when
native emitters are disabled.

Overall savings in code over the last 3 commits are:

bare-arm: 1664 bytes.
minimal:  2136 bytes.
stmhal:    584 bytes (it has native emitter enabled).
cc3200:   1736 bytes.
</content>
</entry>
<entry>
<title>py, compiler: Remove emit_pass1 code, using emit_bc to do its job.</title>
<updated>2015-03-26T16:52:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-26T15:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a210c774f9cfbcde284f5b8a63442b4d6da1ae5b'/>
<id>urn:sha1:a210c774f9cfbcde284f5b8a63442b4d6da1ae5b</id>
<content type='text'>
First pass for the compiler is computing the scope (eg if an identifier
is local or not) and originally had an entire table of methods dedicated
to this, most of which did nothing.  With changes from previous commit,
this set of methods can be removed and the methods from the bytecode
emitter used instead, with very little modification -- this is what is
done in this commit.

This factoring has little to no impact on the speed of the compiler
(tested by compiling 3763 Python scripts and timing it).

This factoring reduces code size by about 270-300 bytes on Thumb2 archs,
and 400 bytes on x86.
</content>
</entry>
<entry>
<title>py, compiler: Refactor load/store/delete_id logic to reduce code size.</title>
<updated>2015-03-26T16:52:45+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-26T14:42:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=542bd6b4a1ead90fde42f24d01c82580f9d048de'/>
<id>urn:sha1:542bd6b4a1ead90fde42f24d01c82580f9d048de</id>
<content type='text'>
Saves around 230 bytes on Thumb2 and 750 bytes on x86.
</content>
</entry>
</feed>
