<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/objexcept.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-08-25T12:24:33+00:00</updated>
<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>
<entry>
<title>Change const byte* to const char* where sensible.</title>
<updated>2014-05-25T21:27:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-25T21:27:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2617eebf2ff77e58f415162300747eaf1a5ab5d7'/>
<id>urn:sha1:2617eebf2ff77e58f415162300747eaf1a5ab5d7</id>
<content type='text'>
This removes need for some casts (at least, more than it adds need
for new casts!).
</content>
</entry>
<entry>
<title>Add SystemExit exception and use it in unix/ and stmhal/ ports.</title>
<updated>2014-05-24T22:32:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-24T22:32:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7a4ddd24281a7e21eeaa697644418015cf4dd650'/>
<id>urn:sha1:7a4ddd24281a7e21eeaa697644418015cf4dd650</id>
<content type='text'>
Addresses issue #598.
</content>
</entry>
<entry>
<title>Merge pull request #607 from Anton-2/osx-clang</title>
<updated>2014-05-21T18:51:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-21T18:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0fd01683c61e039461854b49d1baf8a72aa277fb'/>
<id>urn:sha1:0fd01683c61e039461854b49d1baf8a72aa277fb</id>
<content type='text'>
Allow compilation of unix port under clang on OS X</content>
</entry>
</feed>
