<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/micropython, branch v1.3.3</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.3</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.3'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-09-29T21:41:41+00:00</updated>
<entry>
<title>py: Fix viper store on x86; add tests for viper ptr16.</title>
<updated>2014-09-29T21:41:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-29T21:41:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=dfef4249eb289ae53307d61e3bf2d5cc7339748a'/>
<id>urn:sha1:dfef4249eb289ae53307d61e3bf2d5cc7339748a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add casting to viper; add native mem stores to viper.</title>
<updated>2014-09-29T21:10:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-29T21:10:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9dac3b4d039997f446b6a615d580d284497d59b'/>
<id>urn:sha1:e9dac3b4d039997f446b6a615d580d284497d59b</id>
<content type='text'>
Viper can now do the following:

def store(p:ptr8, c:int):
    p[0] = c

This does a store of c to the memory pointed to by p using a machine
instructions inline in the code.
</content>
</entry>
<entry>
<title>tests: Add tests for viper binary operations.</title>
<updated>2014-09-29T18:42:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-29T18:40:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=44c96b2314f5519643f5c8baa1c05f4f5ce6ff7c'/>
<id>urn:sha1:44c96b2314f5519643f5c8baa1c05f4f5ce6ff7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Allow viper to use ints as direct conditionals in jumps.</title>
<updated>2014-09-29T18:42:06+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-09-29T15:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6f81348fa25216f03686b342765f337ab57e2e5f'/>
<id>urn:sha1:6f81348fa25216f03686b342765f337ab57e2e5f</id>
<content type='text'>
Allows things like: if 1: ...
</content>
</entry>
<entry>
<title>py: Fix bug where GC collected native/viper/asm function data.</title>
<updated>2014-08-24T15:28:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-24T15:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3c658a4e755a75e495303957208486e583ddb270'/>
<id>urn:sha1:3c658a4e755a75e495303957208486e583ddb270</id>
<content type='text'>
Because (for Thumb) a function pointer has the LSB set, pointers to
dynamic functions in RAM (eg native, viper or asm functions) were not
being traced by the GC.  This patch is a comprehensive fix for this.

Addresses issue #820.
</content>
</entry>
<entry>
<title>py: Viper can call functions with native types, and raise exceptions.</title>
<updated>2014-08-16T21:06:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-16T21:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=86de21b810693bccdd88d53aacb6d8acf26f09e0'/>
<id>urn:sha1:86de21b810693bccdd88d53aacb6d8acf26f09e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Viper can now store to global.</title>
<updated>2014-08-15T22:47:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-15T22:47:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e6c0dff9671c493e9a13a22a1b8902dee88da064'/>
<id>urn:sha1:e6c0dff9671c493e9a13a22a1b8902dee88da064</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Fix typing of viper locals; allow default types in annotation.</title>
<updated>2014-08-15T21:39:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-15T21:39:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a5190a7dac7a73e676d6d649035f846ea92d2d2d'/>
<id>urn:sha1:a5190a7dac7a73e676d6d649035f846ea92d2d2d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Allow viper to have type annotations.</title>
<updated>2014-08-15T15:45:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-15T15:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ac4af6946543ae96cf3659468e1b8cabb057f85'/>
<id>urn:sha1:2ac4af6946543ae96cf3659468e1b8cabb057f85</id>
<content type='text'>
Viper functions can now be annotated with the type of their arguments
and return value.  Eg:

@micropython.viper
def f(x:int) -&gt; int:
    return x + 1
</content>
</entry>
<entry>
<title>tests: Add feature test for when heap allocation is disabled.</title>
<updated>2014-05-31T17:33:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-31T17:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4d659f566f094a42057023dcc82a3ca8810c5ba6'/>
<id>urn:sha1:4d659f566f094a42057023dcc82a3ca8810c5ba6</id>
<content type='text'>
</content>
</entry>
</feed>
