<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/binary.h, branch v1.3.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-07-05T20:54:03+00:00</updated>
<entry>
<title>binary: Factor out mp_binary_set_int().</title>
<updated>2014-07-05T20:54:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-07-05T20:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5fa5ca40e67c3c4bfce116a70c3a88b52b718928'/>
<id>urn:sha1:5fa5ca40e67c3c4bfce116a70c3a88b52b718928</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>modstruct: Fix alignment handling issues.</title>
<updated>2014-06-25T20:34:44+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-25T19:25:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a2f16694907fbe8bf5445e30d061f4bb1f9517a'/>
<id>urn:sha1:7a2f16694907fbe8bf5445e30d061f4bb1f9517a</id>
<content type='text'>
Also, factor out mp_binary_get_int() function.
</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>modstruct: Initial implementation of struct.pack().</title>
<updated>2014-04-19T00:22:08+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-19T00:13:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6204460461cc21b27861fa89b2423119f8cdce88'/>
<id>urn:sha1:6204460461cc21b27861fa89b2423119f8cdce88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modstruct: Fix .calcsize() to account for struct type/alignment.</title>
<updated>2014-04-19T00:21:06+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-18T22:25:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1355cf42f23a39d3b887d2771d8bc7f3669d211c'/>
<id>urn:sha1:1355cf42f23a39d3b887d2771d8bc7f3669d211c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add mp_binary_set_val_array_from_int, to store an int directly.</title>
<updated>2014-04-18T22:28:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-18T22:28:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=71e9bfa20dd02457e73c2bec85102b6faf527a33'/>
<id>urn:sha1:71e9bfa20dd02457e73c2bec85102b6faf527a33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modstruct: Basic implementation of native struct alignment and types.</title>
<updated>2014-04-11T00:59:16+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-11T00:47:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0c43cf9154e331ab82bec7c727bc58307f8222c5'/>
<id>urn:sha1:0c43cf9154e331ab82bec7c727bc58307f8222c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>modstruct: Refactor to support both LE and BE packed structs.</title>
<updated>2014-04-11T00:58:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-10T19:19:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6582d64d01c448be4f575f964c549e1ebffe0db0'/>
<id>urn:sha1:6582d64d01c448be4f575f964c549e1ebffe0db0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Start implementing "struct" module.</title>
<updated>2014-04-10T00:58:03+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-10T00:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9db8404804f2eed07eb0a6190f73ae21e0dc43c'/>
<id>urn:sha1:e9db8404804f2eed07eb0a6190f73ae21e0dc43c</id>
<content type='text'>
Only calcsize() and unpack() functions provided so far, for little-endian
byte order. Format strings don't support repition spec (like "2b3i").

Unfortunately, dealing with all the various binary type sizes and alignments
will lead to quite a bloated "binary" helper functions  - if optimizing for
speed. Need to think if using dynamic parametrized algos makes more sense.
</content>
</entry>
</feed>
