<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objexcept.c, branch iabdalkader-cc3k-update</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=iabdalkader-cc3k-update</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=iabdalkader-cc3k-update'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-08-30T13:19:41+00:00</updated>
<entry>
<title>py: Change all uint to mp_uint_t in obj.h.</title>
<updated>2014-08-30T13:19:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-30T13:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d182b98a37bde34c06ae705624da03cf381eb4dc'/>
<id>urn:sha1:d182b98a37bde34c06ae705624da03cf381eb4dc</id>
<content type='text'>
Part of code cleanup, working towards resolving issue #50.
</content>
</entry>
<entry>
<title>py: Make tuple and list use mp_int_t/mp_uint_t.</title>
<updated>2014-08-30T13:04:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-30T13:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55'/>
<id>urn:sha1:9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55</id>
<content type='text'>
Part of code cleanup, to resolve issue #50.
</content>
</entry>
<entry>
<title>Change some parts of the core API to use mp_uint_t instead of uint/int.</title>
<updated>2014-08-29T23:35:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-29T23:35:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ecc88e949ca5e307d22da4605a40d39ea2df9e3b'/>
<id>urn:sha1:ecc88e949ca5e307d22da4605a40d39ea2df9e3b</id>
<content type='text'>
Addressing issue #50, still some way to go yet.
</content>
</entry>
<entry>
<title>stmhal: Make enable_irq and disable_irq inline functions.</title>
<updated>2014-08-25T12:24:33+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-25T12:24:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e5cbb70328239e58c820938eccd51f3c735fc312'/>
<id>urn:sha1:e5cbb70328239e58c820938eccd51f3c735fc312</id>
<content type='text'>
These functions are generally 1 machine instruction, and are used in
critical code, so makes sense to have them inline.

Also leave these functions uninverted (ie 0 means enable, 1 means
disable) and provide macro constants if you really need to distinguish
the states.  This makes for smaller code as well (combined with
inlining).

Applied to teensy port as well.
</content>
</entry>
<entry>
<title>Add save/restore_irq</title>
<updated>2014-08-25T11:22:11+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-08-24T19:21:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9480138f0c917b2400991066e94636f7d8076a4c'/>
<id>urn:sha1:9480138f0c917b2400991066e94636f7d8076a4c</id>
<content type='text'>
Factored irq functions into a separate file.
</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, objexcept: Only check for locked gc if gc is enabled.</title>
<updated>2014-07-01T13:28:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-01T13:28:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f0b29729aa086892a2dc6640a9fe619bb723e5fa'/>
<id>urn:sha1:f0b29729aa086892a2dc6640a9fe619bb723e5fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Try not to cause a MemoryError when raising an exception during nterrupt handling.</title>
<updated>2014-07-01T05:49:21+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-07-01T05:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2fe841d2fa022bc7f546ddd77a79eaa0150bdf87'/>
<id>urn:sha1:2fe841d2fa022bc7f546ddd77a79eaa0150bdf87</id>
<content type='text'>
Step 1 fixes #732
</content>
</entry>
<entry>
<title>Change comments (mainly URLs) to no longer specifically say Python 3.3</title>
<updated>2014-06-05T17:51:03+00:00</updated>
<author>
<name>Chris Angelico</name>
<email>rosuav@gmail.com</email>
</author>
<published>2014-06-05T17:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=daf973ae0074136bb456298e1cdb85666261ce60'/>
<id>urn:sha1:daf973ae0074136bb456298e1cdb85666261ce60</id>
<content type='text'>
</content>
</entry>
</feed>
