<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/bare-arm/mpconfigport.h, 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>2016-04-13T14:31:30+00:00</updated>
<entry>
<title>ports: Disable async/await on bare-arm, minimal, pic16bit, cc3200.</title>
<updated>2016-04-13T14:31:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-13T14:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6eb17c31a926f33428817277ba36bd4950f3500d'/>
<id>urn:sha1:6eb17c31a926f33428817277ba36bd4950f3500d</id>
<content type='text'>
It costs 1188 bytes of code on Thumb 2 archs.
</content>
</entry>
<entry>
<title>py: Remove dependency on printf/fwrite in mp_plat_print.</title>
<updated>2015-10-14T23:05:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-10-14T23:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4300c7dba2f500cd3b2a664c7491aa3ddb328011'/>
<id>urn:sha1:4300c7dba2f500cd3b2a664c7491aa3ddb328011</id>
<content type='text'>
See issue #1500.
</content>
</entry>
<entry>
<title>bare-arm: Disable enumerate and reversed builtins to make port more bare.</title>
<updated>2015-08-02T19:55:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-08-02T19:55:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1934dca6deceb8f05843173e362178700e811133'/>
<id>urn:sha1:1934dca6deceb8f05843173e362178700e811133</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Make qstr hash size configurable, defaults to 2 bytes.</title>
<updated>2015-07-20T11:03:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-07-20T11:03:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c3bd9415cc8e6ba3619fe4b7a2bdac20260b0236'/>
<id>urn:sha1:c3bd9415cc8e6ba3619fe4b7a2bdac20260b0236</id>
<content type='text'>
This patch makes configurable, via MICROPY_QSTR_BYTES_IN_HASH, the
number of bytes used for a qstr hash.  It was originally fixed at 2
bytes, and now defaults to 2 bytes.  Setting it to 1 byte will save
ROM and RAM at a small expense of hash collisions.
</content>
</entry>
<entry>
<title>py: Use a wrapper to explicitly check self argument of builtin methods.</title>
<updated>2015-06-20T15:39:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-06-19T12:49:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=06593fb0f23dfc12f482561fbec1717dca0d4db4'/>
<id>urn:sha1:06593fb0f23dfc12f482561fbec1717dca0d4db4</id>
<content type='text'>
Previous to this patch a call such as list.append(1, 2) would lead to a
seg fault.  This is because list.append is a builtin method and the first
argument to such methods is always assumed to have the correct type.

Now, when a builtin method is extracted like this it is wrapped in a
checker object which checks the the type of the first argument before
calling the builtin function.

This feature is contrelled by MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG and
is enabled by default.

See issue #1216.
</content>
</entry>
<entry>
<title>py: Add attrtuple object, for space-efficient tuples with attr access.</title>
<updated>2015-04-21T14:14:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-04-21T14:14:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5aa311d33084c24262780cae0a65d748990ce7e1'/>
<id>urn:sha1:5aa311d33084c24262780cae0a65d748990ce7e1</id>
<content type='text'>
If you need the functionality of a namedtuple but will only make 1 or a
few instances, then use an attrtuple instead.
</content>
</entry>
<entry>
<title>py: Add MICROPY_COMP_{DOUBLE,TRIPLE}_TUPLE_ASSIGN config options.</title>
<updated>2015-03-14T13:11:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-03-14T13:11:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=42e0c593084784cb0b630d99b8361bc88abadb78'/>
<id>urn:sha1:42e0c593084784cb0b630d99b8361bc88abadb78</id>
<content type='text'>
These allow to fine-tune the compiler to select whether it optimises
tuple assignments of the form a, b = c, d and a, b, c = d, e, f.
Sensible defaults are provided.
</content>
</entry>
<entry>
<title>py: Add config option MICROPY_COMP_MODULE_CONST for module consts.</title>
<updated>2015-01-10T14:07:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-10T14:07:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ddd1e188011a021537c87c75f0a9e1818e335d5d'/>
<id>urn:sha1:ddd1e188011a021537c87c75f0a9e1818e335d5d</id>
<content type='text'>
Compiler optimises lookup of module.CONST when enabled (an existing
feature).  Disabled by default; enabled for unix, windows, stmhal.
Costs about 100 bytes ROM on stmhal.
</content>
</entry>
<entry>
<title>ports: Define mp_off_t.</title>
<updated>2014-11-16T22:16:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-11-16T22:16:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=91386eee2613cbaf736d746cfef28674cce82c01'/>
<id>urn:sha1:91386eee2613cbaf736d746cfef28674cce82c01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Use shorter, static error msgs when ERROR_REPORTING_TERSE enabled.</title>
<updated>2014-11-06T17:36:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-11-06T17:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1e9a92f84fb58db610e20b766052292edc28d25b'/>
<id>urn:sha1:1e9a92f84fb58db610e20b766052292edc28d25b</id>
<content type='text'>
Going from MICROPY_ERROR_REPORTING_NORMAL to
MICROPY_ERROR_REPORTING_TERSE now saves 2020 bytes ROM for ARM Thumb2,
and 2200 bytes ROM for 32-bit x86.

This is about a 2.5% code size reduction for bare-arm.
</content>
</entry>
</feed>
