<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/cc3200, branch v1.8.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-21T05:26:01+00:00</updated>
<entry>
<title>py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros.</title>
<updated>2016-10-21T05:26:01+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-18T00:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2'/>
<id>urn:sha1:4ebdb1f2b217410cdc1cee0e0c0da8fceb7627f2</id>
<content type='text'>
In order to have more fine-grained control over how builtin functions are
constructed, the MP_DECLARE_CONST_FUN_OBJ macros are made more specific,
with suffix of _0, _1, _2, _3, _VAR, _VAR_BETEEN or _KW.  These names now
match the MP_DEFINE_CONST_FUN_OBJ macros.
</content>
</entry>
<entry>
<title>cc3200: Fix thread mutex's so threading works with interrupts.</title>
<updated>2016-10-19T03:24:56+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-19T03:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17ba6ef5fa7585d3e91dada3044e8e755cf99537'/>
<id>urn:sha1:17ba6ef5fa7585d3e91dada3044e8e755cf99537</id>
<content type='text'>
Running Python code on a hard interrupt is incompatible with having a GIL,
because most of the time the GIL will be held by the user thread when the
interrupt arrives.  Hard interrupts mean that we should process them right
away and hence can't wait until the GIL is released.

The problem with the current code is that a hard interrupt will try to
exit/enter the GIL while it is still held by the user thread, hence leading
to a deadlock.

This patch works around such a problem by just making GIL exit/enter a
no-op when in an interrupt context, or when interrupts are disabled.

See issue #2406.
</content>
</entry>
<entry>
<title>cc3200: Enable loading of precompiled .mpy files.</title>
<updated>2016-10-17T23:17:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T23:17:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5c93d0b91655dcd32e633d720b5b790b10be989c'/>
<id>urn:sha1:5c93d0b91655dcd32e633d720b5b790b10be989c</id>
<content type='text'>
Adds 1072 bytes to the code size.
</content>
</entry>
<entry>
<title>cc3200/mods/pybspi: Allow "write" arg of read/readinto to be positional.</title>
<updated>2016-10-17T23:16:46+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T23:16:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=628799cd365e174a53a9328ebe3045f53efdf7d6'/>
<id>urn:sha1:628799cd365e174a53a9328ebe3045f53efdf7d6</id>
<content type='text'>
To conform with Hardware API.
</content>
</entry>
<entry>
<title>cc3200: Use mp_raise_XXX helper functions to reduce code size.</title>
<updated>2016-10-17T22:53:43+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-17T22:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50ddaafa6acf5fbbe6f98e64fd5744a9a8347aff'/>
<id>urn:sha1:50ddaafa6acf5fbbe6f98e64fd5744a9a8347aff</id>
<content type='text'>
Reduces code size by 632 bytes.
</content>
</entry>
<entry>
<title>cc3200: Add ssl_version argument to ssl.wrap_socket().</title>
<updated>2016-10-01T19:35:09+00:00</updated>
<author>
<name>daniel</name>
<email>daniel@pycom.io</email>
</author>
<published>2016-10-01T19:35:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a0d97fe40872b46872657bedc0e47cfd704c59aa'/>
<id>urn:sha1:a0d97fe40872b46872657bedc0e47cfd704c59aa</id>
<content type='text'>
This resolves issue #2343.
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>stmhal,cc3200,esp8266: Consistently use PWRON_RESET constant.</title>
<updated>2016-09-08T02:50:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-08T02:50:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f3b5480be7243684e31e4631e3da49c725fa7234'/>
<id>urn:sha1:f3b5480be7243684e31e4631e3da49c725fa7234</id>
<content type='text'>
machine.POWER_ON is renamed to machine.PWRON_RESET to match other
reset-cause constants that all end in _RESET.  The cc3200 port keeps a
legacy definition of POWER_ON for backwards compatibility.
</content>
</entry>
<entry>
<title>py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.</title>
<updated>2016-09-05T02:18:53+00:00</updated>
<author>
<name>Delio Brignoli</name>
<email>brignoli.delio@gmail.com</email>
</author>
<published>2016-08-21T09:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2ac8bb3f14b076a29244022865e3b47c6c0800a'/>
<id>urn:sha1:e2ac8bb3f14b076a29244022865e3b47c6c0800a</id>
<content type='text'>
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
</content>
</entry>
<entry>
<title>ports: Remove typedef of machine_ptr_t, it's no longer needed.</title>
<updated>2016-08-15T01:02:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-08-15T01:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=675d1c9c600224820f49f912e4ff7d6cf2f97711'/>
<id>urn:sha1:675d1c9c600224820f49f912e4ff7d6cf2f97711</id>
<content type='text'>
This type was used only for the typedef of mp_obj_t, which is now defined
by the object representation.  So we can now remove this unused typedef,
to simplify the mpconfigport.h file.
</content>
</entry>
</feed>
