<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stm/audio.c, branch v1.0-rc1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0-rc1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.0-rc1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-04-19T23:15:35+00:00</updated>
<entry>
<title>stm: Update to compile with latest changes to core py.</title>
<updated>2014-04-19T23:15:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-19T23:15:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c7c4a8439735ff7617f78b5b6c0cdfb05ae88656'/>
<id>urn:sha1:c7c4a8439735ff7617f78b5b6c0cdfb05ae88656</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change nlr_jump to nlr_raise, to aid in debugging.</title>
<updated>2014-04-05T17:32:08+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T17:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ea13f407a392593e7746131952a57bad222ee882'/>
<id>urn:sha1:ea13f407a392593e7746131952a57bad222ee882</id>
<content type='text'>
This does not affect code size or performance when debugging turned off.

To address issue #420.
</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>Remove mp_obj_type_t.methods entry and use .locals_dict instead.</title>
<updated>2014-03-26T21:47:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-26T21:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9b196cddab80e24b9ce66b1c922cb757b11fb16a'/>
<id>urn:sha1:9b196cddab80e24b9ce66b1c922cb757b11fb16a</id>
<content type='text'>
Originally, .methods was used for methods in a ROM class, and
locals_dict for methods in a user-created class.  That distinction is
unnecessary, and we can use locals_dict for ROM classes now that we have
ROMable maps.

This removes an entry in the bloated mp_obj_type_t struct, saving a word
for each ROM object and each RAM object.  ROM objects that have a
methods table (now a locals_dict) need an extra word in total (removed
the methods pointer (1 word), no longer need the sentinel (2 words), but
now need an mp_obj_dict_t wrapper (4 words)).  But RAM objects save a
word because they never used the methods entry.

Overall the ROM usage is down by a few hundred bytes, and RAM usage is
down 1 word per user-defined type/class.

There is less code (no need to check 2 tables), and now consistent with
the way ROM modules have their tables initialised.

Efficiency is very close to equivaluent.
</content>
</entry>
<entry>
<title>Change mp_method_t.name from const char * to qstr.</title>
<updated>2014-03-26T20:15:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-26T20:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c12b2213c16ba8839981c362c4d5f133a84b374b'/>
<id>urn:sha1:c12b2213c16ba8839981c362c4d5f133a84b374b</id>
<content type='text'>
Addresses issue #377.
</content>
</entry>
<entry>
<title>stm: Add DMA support to Audio object.</title>
<updated>2014-03-09T19:59:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-09T19:59:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5322ec0962b58e187a4dadc7bb64b3fb3bcad5d5'/>
<id>urn:sha1:5322ec0962b58e187a4dadc7bb64b3fb3bcad5d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stm: Improve DAC (audio) bindings.</title>
<updated>2014-03-08T15:14:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-03-08T15:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cd000645f82a356c35139a8d28781a86c473e4f0'/>
<id>urn:sha1:cd000645f82a356c35139a8d28781a86c473e4f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revamp qstrs: they now include length and hash.</title>
<updated>2014-01-21T21:40:13+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-21T21:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55baff4c9bcbc001cbb8972c289ebfa356d4665b'/>
<id>urn:sha1:55baff4c9bcbc001cbb8972c289ebfa356d4665b</id>
<content type='text'>
Can now have null bytes in strings.  Can define ROM qstrs per port using
qstrdefsport.h
</content>
</entry>
<entry>
<title>Consolidate rt_make_function_[0123] to rt_make_function_n.</title>
<updated>2014-01-13T19:50:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-13T19:50:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f62d33aa1dc5afad9abbaf257531bdc4b0fbfdc0'/>
<id>urn:sha1:f62d33aa1dc5afad9abbaf257531bdc4b0fbfdc0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change mp_compile so that it returns a function object for the module.</title>
<updated>2014-01-03T14:22:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-01-03T14:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1fb031744f5584d1bd0c88d28fbe7e261832c7a8'/>
<id>urn:sha1:1fb031744f5584d1bd0c88d28fbe7e261832c7a8</id>
<content type='text'>
</content>
</entry>
</feed>
