<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/stmhal, branch v1.3.9</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.9</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.9'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2015-01-24T23:45:37+00:00</updated>
<entry>
<title>stmhal: Disable MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE.</title>
<updated>2015-01-24T23:45:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-24T23:45:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ad33e2465c243dd6c602a7b1e263df3cf2359230'/>
<id>urn:sha1:ad33e2465c243dd6c602a7b1e263df3cf2359230</id>
<content type='text'>
It uses RAM and on pyboard we are generally tight on RAM, so disable
this optimisation for general builds.  If users need the speed then
they can build their own version.  Maybe in the future we can have
different versions of pyboard firmware built with different tradeoffs.
</content>
</entry>
<entry>
<title>stmhal: Bug fix for usocket's accept and setsockopt methods.</title>
<updated>2015-01-24T15:07:50+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-24T15:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=23342c09ff9e7d5ead4905a4692e9646b4bbc2eb'/>
<id>urn:sha1:23342c09ff9e7d5ead4905a4692e9646b4bbc2eb</id>
<content type='text'>
accept might raise an exception, in which case the new socket is not
fully created.  It has a finaliser so will run close() method when GC'd.
Before this patch close would try to close an invalid socket.  Now
fixed.

setsockopt took address of stack value which became out of scope.  Now
fixed.
</content>
</entry>
<entry>
<title>lib/libm: Add frexp and modf functions; use in stmhal; add tests.</title>
<updated>2015-01-22T13:48:29+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-22T13:48:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6d1f5070ce97d76452ba48c2baa27d8f818a1545'/>
<id>urn:sha1:6d1f5070ce97d76452ba48c2baa27d8f818a1545</id>
<content type='text'>
Addresses issue #1081.
</content>
</entry>
<entry>
<title>stmhal: Make CC3K object static, so it's only registered once as NIC.</title>
<updated>2015-01-22T00:17:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-22T00:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bd9c1ad601aceaa1a74c32790df883b12c43348d'/>
<id>urn:sha1:bd9c1ad601aceaa1a74c32790df883b12c43348d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: Put mod_network_nic_list in global root-pointer state.</title>
<updated>2015-01-22T00:16:41+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-22T00:16:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b77e3dd2fd3005bc67bb59a701c6ea2422bf928'/>
<id>urn:sha1:8b77e3dd2fd3005bc67bb59a701c6ea2422bf928</id>
<content type='text'>
It needs to be scanned by GC.  Thanks to Daniel Campora.
</content>
</entry>
<entry>
<title>py: Remove mp_obj_str_builder and use vstr instead.</title>
<updated>2015-01-21T23:18:02+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-21T22:48:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=05005f679e00241e15a87751d89327f2c4630cb6'/>
<id>urn:sha1:05005f679e00241e15a87751d89327f2c4630cb6</id>
<content type='text'>
With this patch str/bytes construction is streamlined.  Always use a
vstr to build a str/bytes object.  If the size is known beforehand then
use vstr_init_len to allocate only required memory.  Otherwise use
vstr_init and the vstr will grow as needed.  Then use
mp_obj_new_str_from_vstr to create a str/bytes object using the vstr
memory.

Saves code ROM: 68 bytes on stmhal, 108 bytes on bare-arm, and 336 bytes
on unix x64.
</content>
</entry>
<entry>
<title>stmhal: Add support for FEZ Cerb40 II board from ghielectronics.com.</title>
<updated>2015-01-21T00:11:04+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-01-16T05:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d7f199465f229e95b1ac1a1b6b74a3e0ce1f98c7'/>
<id>urn:sha1:d7f199465f229e95b1ac1a1b6b74a3e0ce1f98c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py, unix, stmhal: Allow to compile with -Wshadow.</title>
<updated>2015-01-20T11:55:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-20T11:55:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=50912e7f5dc579fd2917537046793dfa30decadf'/>
<id>urn:sha1:50912e7f5dc579fd2917537046793dfa30decadf</id>
<content type='text'>
See issue #699.
</content>
</entry>
<entry>
<title>pyexec: Add event-driven variant pyexec_friendly_repl().</title>
<updated>2015-01-15T23:30:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-01-15T08:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=87bc8e2b3d66d3e87c2d01a7b3107a8ecce2a07f'/>
<id>urn:sha1:87bc8e2b3d66d3e87c2d01a7b3107a8ecce2a07f</id>
<content type='text'>
pyexec_friendly_repl_process_char() and friends, useful for ports which
integrate into existing cooperative multitasking system.

Unlike readline() refactor before, this was implemented in less formal,
trial&amp;error process, minor functionality regressions are still known
(like soft&amp;hard reset support). So, original loop-based pyexec_friendly_repl()
is left intact, specific implementation selectable by config setting.
</content>
</entry>
<entry>
<title>py: Can compile with -Wmissing-declarations and -Wmissing-prototypes.</title>
<updated>2015-01-12T22:30:49+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2015-01-12T22:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cd3420740909b3b6a2140b613b591b7556b417a2'/>
<id>urn:sha1:cd3420740909b3b6a2140b613b591b7556b417a2</id>
<content type='text'>
</content>
</entry>
</feed>
