<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython, branch v1.4.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.4.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-09-23T16:16:22+00:00</updated>
<entry>
<title>docs: Bump version to 1.4.6.</title>
<updated>2015-09-23T16:16:22+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-23T16:16:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5572f735b65cb4704725966d5437564501ceb673'/>
<id>urn:sha1:5572f735b65cb4704725966d5437564501ceb673</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/modjni: Factor out is_object_type().</title>
<updated>2015-09-23T14:11:56+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-09-23T14:10:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e632b1fda71fd6c306b47b32c385dfdb1037e77c'/>
<id>urn:sha1:e632b1fda71fd6c306b47b32c385dfdb1037e77c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>windows: Make mpconfigport.h up-to-date with the unix port</title>
<updated>2015-09-23T14:10:00+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-09-21T10:42:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=941040e9e845a2032725a0e18d4d9daaaa986f0a'/>
<id>urn:sha1:941040e9e845a2032725a0e18d4d9daaaa986f0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: Omit process output parsing in case of CalledProcessError</title>
<updated>2015-09-23T10:50:24+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-09-21T10:24:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dfa915a6af714d6d6f185c0d5a67cd45a9f7acd1'/>
<id>urn:sha1:dfa915a6af714d6d6f185c0d5a67cd45a9f7acd1</id>
<content type='text'>
Adding a line-end makes the determination of skip_native fail as it compares
the output against b'CRASH' while it is in fact b'CRASH\n'
</content>
</entry>
<entry>
<title>py: Slightly simplify compile and emit of star/double-star arguments.</title>
<updated>2015-09-23T10:47:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-09-23T10:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fbcaf0ea18d647adc445dc1029392c2a908cf540'/>
<id>urn:sha1:fbcaf0ea18d647adc445dc1029392c2a908cf540</id>
<content type='text'>
Saves a few bytes of code space and eliminates need for rot_two
bytecode (hence saving RAM and execution time, by a tiny bit).
</content>
</entry>
<entry>
<title>py: Fix call args when a stararg is followed by keyword args.</title>
<updated>2015-09-23T10:37:00+00:00</updated>
<author>
<name>Delio Brignoli</name>
<email>brignoli.delio@gmail.com</email>
</author>
<published>2015-09-17T10:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e6978a4e26a17ef473e2aad78662d3bf29638578'/>
<id>urn:sha1:e6978a4e26a17ef473e2aad78662d3bf29638578</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/modffi.c: cast first to intptr_t when casting from/to pointer</title>
<updated>2015-09-23T01:54:31+00:00</updated>
<author>
<name>Vicente Olivert Riera</name>
<email>Vincent.Riera@imgtec.com</email>
</author>
<published>2015-09-20T08:00:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=587914169cc6ff7f0513bd14c42dcbb275bf77bd'/>
<id>urn:sha1:587914169cc6ff7f0513bd14c42dcbb275bf77bd</id>
<content type='text'>
This fixes errors like these ones:

modffi.c: In function 'return_ffi_value':
modffi.c:143:29: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
             const char *s = (const char *)val;
                             ^
modffi.c:162:20: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
             return (mp_obj_t)val;
                    ^
modffi.c: In function 'ffifunc_call':
modffi.c:358:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)a;
                         ^
modffi.c:373:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)s;
                         ^
modffi.c:381:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)bufinfo.buf;
                         ^
modffi.c:384:25: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
             values[i] = (ffi_arg)p-&gt;func;
                         ^

These errors can be highlighted when building micropython from MIPS64
n32 because ffi_arg is 64-bit wide and the pointers on MIPS64 n32 are
32-bit wide, so it's trying to case an integer to a pointer (or
vice-versa) of a different size. We should cast first the pointer (or the
integer) to a pointer sized integer (intptr_t) to fix that problem.

Signed-off-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
</content>
</entry>
<entry>
<title>unix/modjni: Move type analysis logic to new_jobject(), for reuse.</title>
<updated>2015-09-23T00:02:17+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-09-23T00:01:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed22e9ba3ec6a2787cfd86f747a283cc55021a0b'/>
<id>urn:sha1:ed22e9ba3ec6a2787cfd86f747a283cc55021a0b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>windows/msvc: Exclude modjni from build.</title>
<updated>2015-09-22T10:07:03+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2015-09-21T08:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dcbe936c50ad7050efde8acc94d891dae1909148'/>
<id>urn:sha1:dcbe936c50ad7050efde8acc94d891dae1909148</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cc3200: New SD and RTC API plus os and time modules' extensions.</title>
<updated>2015-09-21T20:30:32+00:00</updated>
<author>
<name>Daniel Campora</name>
<email>daniel@wipy.io</email>
</author>
<published>2015-09-16T12:09:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dffa9f6da65cd03e834b2ed3914f40428f72e49f'/>
<id>urn:sha1:dffa9f6da65cd03e834b2ed3914f40428f72e49f</id>
<content type='text'>
</content>
</entry>
</feed>
