<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/py.mk, branch v1.8.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-08T03:28:30+00:00</updated>
<entry>
<title>py: Move frozen bytecode Makefile rules from ports to common mk files.</title>
<updated>2016-11-08T03:28:30+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-08T03:28:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bdf33bc1367fa6fc888c791ce00b326bbd279bdf'/>
<id>urn:sha1:bdf33bc1367fa6fc888c791ce00b326bbd279bdf</id>
<content type='text'>
Now, to use frozen bytecode all a port needs to do is define
FROZEN_MPY_DIR to the directory containing the .py files to freeze, and
define MICROPY_MODULE_FROZEN_MPY and MICROPY_QSTR_EXTRA_POOL.
</content>
</entry>
<entry>
<title>extmod/moduos_dupterm: Renamed to uos_dupterm.</title>
<updated>2016-10-25T23:08:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-25T23:08:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f00ecdb54d06f57e318d00db00df82e6450e5901'/>
<id>urn:sha1:f00ecdb54d06f57e318d00db00df82e6450e5901</id>
<content type='text'>
As part of file naming clean up (moduos_dupterm doesn't implement a
full module, so should skip "mod" prefix, similar to other files in
extmod/).
</content>
</entry>
<entry>
<title>py/py.mk: Automatically add frozen.c to source list if FROZEN_DIR is defined.</title>
<updated>2016-10-20T22:08:43+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-20T22:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b440307b4a15a540413a7a9f699d388c7428a63c'/>
<id>urn:sha1:b440307b4a15a540413a7a9f699d388c7428a63c</id>
<content type='text'>
Now frozen modules generation handled fully by py.mk and available for reuse
by any port.
</content>
</entry>
<entry>
<title>extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse.</title>
<updated>2016-10-14T17:14:01+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-10-14T17:13:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a97284423eba9470c16c5f02fadea14bd8263751'/>
<id>urn:sha1:a97284423eba9470c16c5f02fadea14bd8263751</id>
<content type='text'>
As long as a port implement mp_hal_sleep_ms(), mp_hal_ticks_ms(), etc.
functions, it can just use standard implementations of utime.sleel_ms(),
utime.ticks_ms(), etc. Python-level functions.
</content>
</entry>
<entry>
<title>py/py.mk: Add support for building modussl_mbedtls.</title>
<updated>2016-09-23T11:30:46+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-09-23T11:30:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9cc8ec843eb76e08785093ad5ec3a9d5b1b3102e'/>
<id>urn:sha1:9cc8ec843eb76e08785093ad5ec3a9d5b1b3102e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/py.mk: Suppress some compiler warnings when building berkeley-db.</title>
<updated>2016-09-22T01:09:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-22T01:09:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=6c79980b0e83d774ad9c8bdf2f938af8bfbc7793'/>
<id>urn:sha1:6c79980b0e83d774ad9c8bdf2f938af8bfbc7793</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add MICROPY_USE_INTERNAL_PRINTF option, defaults to enabled.</title>
<updated>2016-09-05T02:18:53+00:00</updated>
<author>
<name>Delio Brignoli</name>
<email>brignoli.delio@gmail.com</email>
</author>
<published>2016-08-21T09:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e2ac8bb3f14b076a29244022865e3b47c6c0800a'/>
<id>urn:sha1:e2ac8bb3f14b076a29244022865e3b47c6c0800a</id>
<content type='text'>
This new config option allows to control whether MicroPython uses its own
internal printf or not (if not, an external one should be linked in).
Accompanying this new option is the inclusion of lib/utils/printf.c in the
core list of source files, so that ports no longer need to include it
themselves.
</content>
</entry>
<entry>
<title>extmod: Add machine_spi with generic SPI C-protocol and helper methods.</title>
<updated>2016-09-01T05:07:20+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-01T05:07:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0823c1baf864f2e8fd60e49a5e42a958fd89ff43'/>
<id>urn:sha1:0823c1baf864f2e8fd60e49a5e42a958fd89ff43</id>
<content type='text'>
The idea is that all ports can use these helper methods and only need to
provide initialisation of the SPI bus, as well as a single transfer
function.  The coding pattern follows the stream protocol and helper
methods.
</content>
</entry>
<entry>
<title>py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib.</title>
<updated>2016-07-30T21:39:09+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-30T21:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0dfe849413a5e1cee63da5fc97305304dff322dc'/>
<id>urn:sha1:0dfe849413a5e1cee63da5fc97305304dff322dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib/embed/abort_: Implementation of abort_() function raising uPy exception.</title>
<updated>2016-07-29T21:35:50+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-07-29T21:35:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c8b80e4740baa0f3bdf025a23f92c3a1ff2bf6fc'/>
<id>urn:sha1:c8b80e4740baa0f3bdf025a23f92c3a1ff2bf6fc</id>
<content type='text'>
Helpful when porting existing C libraries to MicroPython. abort()ing in
embedded environment isn't a good idea, so when compiling such library,
-Dabort=abort_ option can be given to redirect standard abort() to this
"safe" version.
</content>
</entry>
</feed>
