<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/emitglue.c, branch cross</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=cross'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-05-12T13:00:57+00:00</updated>
<entry>
<title>py/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .mpy files.</title>
<updated>2016-05-12T13:00:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-12T13:00:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a314b842bb5e0c2c43d4194320f48fa875fc176d'/>
<id>urn:sha1:a314b842bb5e0c2c43d4194320f48fa875fc176d</id>
<content type='text'>
Actual loading of .mpy files isn't tested.
</content>
</entry>
<entry>
<title>py: Add ability to have frozen persistent bytecode from .mpy files.</title>
<updated>2016-04-13T15:07:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a2e9650f5383bc1190d6b27a3d923e313c3d879'/>
<id>urn:sha1:0a2e9650f5383bc1190d6b27a3d923e313c3d879</id>
<content type='text'>
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY.  This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
</content>
</entry>
<entry>
<title>py/emitglue: Make mp_raw_code_t* arguments constant pointers.</title>
<updated>2016-04-13T15:05:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed0c11236f2fc0d90d826f98cafdb65be99eb6b6'/>
<id>urn:sha1:ed0c11236f2fc0d90d826f98cafdb65be99eb6b6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitglue: Move typedef of mp_raw_code_t from .c to .h file.</title>
<updated>2016-04-13T15:05:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:19:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d24dc23b82ea7cc62b9c55de91c98330c2675ee'/>
<id>urn:sha1:6d24dc23b82ea7cc62b9c55de91c98330c2675ee</id>
<content type='text'>
It's needed by frozen bytecode.
</content>
</entry>
<entry>
<title>py/emitglue: Get persistent bytecode working on Linux ARM platform.</title>
<updated>2016-03-07T15:15:23+00:00</updated>
<author>
<name>Markus Fix</name>
<email>lispmeister@gmail.com</email>
</author>
<published>2016-03-07T11:15:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4f0080346b565cbf9f2204874b81814013d67488'/>
<id>urn:sha1:4f0080346b565cbf9f2204874b81814013d67488</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.</title>
<updated>2016-02-25T10:05:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-11T22:30:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea23520403777f9b026f49245d39f8be1ccdbdac'/>
<id>urn:sha1:ea23520403777f9b026f49245d39f8be1ccdbdac</id>
<content type='text'>
This new compile-time option allows to make the bytecode compiler
configurable at runtime by setting the fields in the mp_dynamic_compiler
structure.  By using this feature, the compiler can generate bytecode
that targets any MicroPython runtime/VM, regardless of the host and
target compile-time settings.

Options so far that fall under this dynamic setting are:
- maximum number of bits that a small int can hold;
- whether caching of lookups is used in the bytecode;
- whether to use unicode strings or not (lexer behaviour differs, and
  therefore generated string constants differ).
</content>
</entry>
<entry>
<title>py/inlineasm: Add ability to specify return type of asm_thumb funcs.</title>
<updated>2016-01-27T14:27:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-15T15:20:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8f54c08691faa3dd859852d211230fd7d9791abd'/>
<id>urn:sha1:8f54c08691faa3dd859852d211230fd7d9791abd</id>
<content type='text'>
Supported return types are: object, bool, int, uint.

For example:

@micropython.asm_thumb
def foo(r0, r1) -&gt; uint:
    add(r0, r0, r1)
</content>
</entry>
<entry>
<title>py/emitglue: Use mp_obj_is_float instead of MP_OBJ_IS_TYPE.</title>
<updated>2016-01-13T15:24:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-13T15:24:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8bb4931fec1d3661487e126ff541479948d50d2e'/>
<id>urn:sha1:8bb4931fec1d3661487e126ff541479948d50d2e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/emitglue: Add more feature flags to .mpy persistent bytecode output.</title>
<updated>2016-01-08T13:35:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-08T13:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1404d620c018b543534629cb54c48bacc1806315'/>
<id>urn:sha1:1404d620c018b543534629cb54c48bacc1806315</id>
<content type='text'>
Need to record in .mpy file whether unicode is enabled, and how many bits
are in a small int.
</content>
</entry>
<entry>
<title>py/emitglue: Add include of unistd.h for read function.</title>
<updated>2015-12-18T12:33:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-12-18T12:33:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ab8012bd8098e155e38ef6dead62bca8a200e613'/>
<id>urn:sha1:ab8012bd8098e155e38ef6dead62bca8a200e613</id>
<content type='text'>
</content>
</entry>
</feed>
