<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/extmod, branch v1.5.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.5.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-12-30T14:43:35+00:00</updated>
<entry>
<title>extmod/modlwip: Use _ERR_BADF instead of magic number.</title>
<updated>2015-12-30T14:43:35+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-30T14:43:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb7b715b7b745289aacb04b772c00838b6942c82'/>
<id>urn:sha1:fb7b715b7b745289aacb04b772c00838b6942c82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modlwip: Avoid magic numeric values in memcpy().</title>
<updated>2015-12-30T14:40:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-30T14:40:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bc25545fbbcfdfde433eace9e4327c4fa954d54d'/>
<id>urn:sha1:bc25545fbbcfdfde433eace9e4327c4fa954d54d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modlwip: User proper field name and value names for socket state.</title>
<updated>2015-12-30T14:26:23+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-30T14:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=722fb2d251a8e997c3cdf94ea5c65d730a69ed71'/>
<id>urn:sha1:722fb2d251a8e997c3cdf94ea5c65d730a69ed71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extmod/modlwip: Mark some lwip_socket_obj_t's fields as volatile.</title>
<updated>2015-12-29T19:02:02+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-29T19:00:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fff2dd2627e78fc187b47074436de524db393ac2'/>
<id>urn:sha1:fff2dd2627e78fc187b47074436de524db393ac2</id>
<content type='text'>
Any fields changed by asynchronous callbacks must be volatile.
</content>
</entry>
<entry>
<title>extmod/modlwip: tcp_recv: Use more regular and responsive poll pattern.</title>
<updated>2015-12-29T18:37:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-29T18:35:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a63d4a6cc20b6e9b03f1a5fab5a189765b27b749'/>
<id>urn:sha1:a63d4a6cc20b6e9b03f1a5fab5a189765b27b749</id>
<content type='text'>
Polling once in 100ms means dismal performance.

TODO: Propagate this pattern to other polling places.
</content>
</entry>
<entry>
<title>extmod/modubinascii: Add "separator" argument to hexlify().</title>
<updated>2015-12-26T00:15:56+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-26T00:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7203b58e876cffe9bb7246e17c206e7b4280f701'/>
<id>urn:sha1:7203b58e876cffe9bb7246e17c206e7b4280f701</id>
<content type='text'>
This is extension to CPython, it allows to easily produce human-readable
hex dump:

&gt;&gt;&gt; ubinascii.hexlify(b"\xaa\x55\xaa\x55", b" ")
b'aa 55 aa 55'
</content>
</entry>
<entry>
<title>extmod/moduhashlib: Add namespace prefix for crypto-algorithms/sha256.h.</title>
<updated>2015-12-20T21:14:47+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-20T14:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b7f62241023fdd000ee011824679a34d615c722'/>
<id>urn:sha1:1b7f62241023fdd000ee011824679a34d615c722</id>
<content type='text'>
Everyone loves to names similar things the same, then there're conflicts
between different libraries. The namespace prefix used is "CRYAL_", which
is weird, and that's good, as that minimizes chance of another conflict.
</content>
</entry>
<entry>
<title>unix: machine_mem improvements</title>
<updated>2015-12-18T20:01:03+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-14T00:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=755b01439bab486d3ccb3c6eddccd10aae045f23'/>
<id>urn:sha1:755b01439bab486d3ccb3c6eddccd10aae045f23</id>
<content type='text'>
This basically introduces the MICROPY_MACHINE_MEM_GET_READ_ADDR
and MICROPY_MACHINE_MEM_GET_WRITE_ADDR macros. If one of them is
not defined, then a default identity function is provided.
</content>
</entry>
<entry>
<title>unix: Move modmachine into unix directory</title>
<updated>2015-12-12T23:21:36+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-12-12T22:15:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f9251659424664ed3f30c2b2a990bd7b9fa22c65'/>
<id>urn:sha1:f9251659424664ed3f30c2b2a990bd7b9fa22c65</id>
<content type='text'>
This leaves behind the common functionality in extmod/machine_mem.c
which can be used by all ports.
</content>
</entry>
<entry>
<title>extmod/moductypes: sizeof operation depends on layout type of structure.</title>
<updated>2015-12-09T19:43:28+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-09T19:39:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d4a874b81e29008713e9de2dd623e62c9f2aa5dc'/>
<id>urn:sha1:d4a874b81e29008713e9de2dd623e62c9f2aa5dc</id>
<content type='text'>
Previously, sizeof() blindly assumed LAYOUT_NATIVE and tried to align
size even for packed LAYOUT_LITTLE_ENDIAN &amp; LAYOUT_BIG_ENDIAN. As sizeof()
is implemented on a strucuture descriptor dictionary (not an structure
object), resolving this required passing layout type around.
</content>
</entry>
</feed>
