<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/modmicropython.c, 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-31T09:49:14+00:00</updated>
<entry>
<title>py: Make MP_OBJ_NEW_SMALL_INT cast arg to mp_int_t itself.</title>
<updated>2014-07-31T09:49:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-31T09:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4'/>
<id>urn:sha1:bb4c6f35c627ab3487cdd6bafb4588cc633cd6a4</id>
<content type='text'>
Addresses issue #724.
</content>
</entry>
<entry>
<title>Add support for storing args during an exception raised by an irq.</title>
<updated>2014-07-25T21:00:06+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-07-02T06:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5b7fd20fea6d4329bb3ab45f63df41f46f242688'/>
<id>urn:sha1:5b7fd20fea6d4329bb3ab45f63df41f46f242688</id>
<content type='text'>
The user code should call micropython.alloc_emergency_exception_buf(size)
where size is the size of the buffer used to print the argument
passed to the exception.

With the test code from #732, and a call to
micropython.alloc_emergenncy_exception_buf(100) the following error is
now printed:
```python
&gt;&gt;&gt; import heartbeat_irq
Uncaught exception in Timer(4) interrupt handler
Traceback (most recent call last):
  File "0://heartbeat_irq.py", line 14, in heartbeat_cb
NameError: name 'led' is not defined
```
</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>py: Include mpconfig.h before all other includes.</title>
<updated>2014-06-21T19:43:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-21T19:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=59c675a64c1d9757d50ad4627da67a6f996a99fb'/>
<id>urn:sha1:59c675a64c1d9757d50ad4627da67a6f996a99fb</id>
<content type='text'>
It defines types used by all other headers.

Fixes #691.
</content>
</entry>
<entry>
<title>Prefix ARRAY_SIZE with micropython prefix MP_</title>
<updated>2014-06-19T16:54:34+00:00</updated>
<author>
<name>Emmanuel Blot</name>
<email>emmanuel.blot@free.fr</email>
</author>
<published>2014-06-19T16:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6932d650620d3753b5a18df5131227276260f74'/>
<id>urn:sha1:f6932d650620d3753b5a18df5131227276260f74</id>
<content type='text'>
</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>Add ARRAY_SIZE macro, and use it where possible.</title>
<updated>2014-04-26T09:47:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-26T09:47:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d3c5e4301df363055dc256e6692c610e4d0b918'/>
<id>urn:sha1:6d3c5e4301df363055dc256e6692c610e4d0b918</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change module globals from mp_map_t* to mp_obj_dict_t*.</title>
<updated>2014-04-05T20:53:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T20:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b0535e23fb1c646103a060a4ae17e9ee6d5e887'/>
<id>urn:sha1:8b0535e23fb1c646103a060a4ae17e9ee6d5e887</id>
<content type='text'>
Towards addressing issue #424.

Had a small increase to ROM usage (order 60 bytes).
</content>
</entry>
<entry>
<title>Merge map.h into obj.h.</title>
<updated>2014-03-30T12:54:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-30T12:54:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=df6567e6345c763182fa237a4497ab94ee6ffc20'/>
<id>urn:sha1:df6567e6345c763182fa237a4497ab94ee6ffc20</id>
<content type='text'>
Pretty much everyone needs to include map.h, since it's such an integral
part of the Micro Python object implementation.  Thus, the definitions
are now in obj.h instead.  map.h is removed.
</content>
</entry>
<entry>
<title>Proper support for registering builtin modules in ROM.</title>
<updated>2014-03-25T14:18:18+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-25T14:18:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=caac542b235003f7b79d7aa23eaebe8f2c772508'/>
<id>urn:sha1:caac542b235003f7b79d7aa23eaebe8f2c772508</id>
<content type='text'>
Comes with some refactoring of code and renaming of files.  All modules
are now named mod*.[ch].
</content>
</entry>
</feed>
