<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/pfenv.c, branch v1.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-06-06T06:09:02+00:00</updated>
<entry>
<title>Fix str.modulo when precision is specified.</title>
<updated>2014-06-06T06:09:02+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-06-06T06:09:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b69f9fa31f976cac4cdcb441612c8a72b10af457'/>
<id>urn:sha1:b69f9fa31f976cac4cdcb441612c8a72b10af457</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename bultins config variables to MICROPY_PY_BUILTINS_*.</title>
<updated>2014-06-01T12:32:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-06-01T12:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9'/>
<id>urn:sha1:fb510b3bf90eccc8e0d400c6622b2e94c2bfa8e9</id>
<content type='text'>
This renames:
MICROPY_PY_FROZENSET -&gt; MICROPY_PY_BUILTINS_FROZENSET
MICROPY_PY_PROPERTY -&gt; MICROPY_PY_BUILTINS_PROPERTY
MICROPY_PY_SLICE -&gt; MICROPY_PY_BUILTINS_SLICE
MICROPY_ENABLE_FLOAT -&gt; MICROPY_PY_BUILTINS_FLOAT

See issue #35 for discussion.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py: Fix pfenv_print_strn to return correct number of chars printed.</title>
<updated>2014-04-17T17:58:09+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-17T17:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d0f9f6cd3f4b541dd4324dd73371638185178cdb'/>
<id>urn:sha1:d0f9f6cd3f4b541dd4324dd73371638185178cdb</id>
<content type='text'>
With this fix, all tests in tests/basics pass on pyboard.
</content>
</entry>
<entry>
<title>py: Reinstate old pfenv_print_int function for stmhal's printf.</title>
<updated>2014-04-08T21:10:37+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-08T21:10:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=348435d2798c274b35afbcdba66b86079c0b7357'/>
<id>urn:sha1:348435d2798c274b35afbcdba66b86079c0b7357</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former.</title>
<updated>2014-04-08T00:29:53+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-08T00:29:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a12a0f78b0462f9b5e8f3d4cb1b164656f44ad03'/>
<id>urn:sha1:a12a0f78b0462f9b5e8f3d4cb1b164656f44ad03</id>
<content type='text'>
stmhal relies on pfenv_* to implement its printf.  Thus, it needs a
pfenv_print_int which prints a proper 32-bit integer.  With latest
change to pfenv, this function became one that took mp_obj_t, and
extracted the integer value from that object.

To fix temporarily, pfenv_print_int has been renamed to
pfenv_print_mp_int (to indicate it takes a mp_obj_t for the int), and
pfenv_print_int has been added (which takes a normal C int).  Currently,
pfenv_print_int proxies to pfenv_print_mp_int, but this means it looses
the MSB.  Need to find a way to fix this, but the only way I can think
of will duplicate lots of code.
</content>
</entry>
<entry>
<title>Add string formatting support for longlong and mpz.</title>
<updated>2014-04-07T18:38:45+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-04-07T18:19:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c4029e5079126585e4616f1d511d94318e1f1700'/>
<id>urn:sha1:c4029e5079126585e4616f1d511d94318e1f1700</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change pfenv_print_int to take machine_uint_t rather than unsinged in</title>
<updated>2014-04-05T16:42:20+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-04-05T16:42:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=64ef5d7f4eefeecb8ee554cbaf1f9641b35a88bf'/>
<id>urn:sha1:64ef5d7f4eefeecb8ee554cbaf1f9641b35a88bf</id>
<content type='text'>
With this change, the following works:

&gt;&gt;&gt; print('%#x' % 0x1234567890abcdef)
0x1234567890abcdef
</content>
</entry>
<entry>
<title>py: Make pfenv.c conform to code conventions.</title>
<updated>2014-04-01T20:15:03+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-01T20:15:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3e050029677bdd19d99f8ee6135ad78eb9d52e6'/>
<id>urn:sha1:e3e050029677bdd19d99f8ee6135ad78eb9d52e6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce stack usage of pfenv_print_strn</title>
<updated>2014-04-01T18:59:31+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2014-04-01T18:59:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1c6b4b2e2488f4f32dacefda1538134d49fab630'/>
<id>urn:sha1:1c6b4b2e2488f4f32dacefda1538134d49fab630</id>
<content type='text'>
</content>
</entry>
</feed>
