<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/teensy/Makefile, branch v1.8.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-04-25T15:54:59+00:00</updated>
<entry>
<title>cc3200, stmhal, teensy: Use pyhelp_print_obj function.</title>
<updated>2016-04-25T15:54:59+00:00</updated>
<author>
<name>Colin Hogben</name>
<email>colin@infinnovation.co.uk</email>
</author>
<published>2016-04-21T19:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=104aa26271d38fc6204fcee6d65044716e4dae31'/>
<id>urn:sha1:104aa26271d38fc6204fcee6d65044716e4dae31</id>
<content type='text'>
Update the help() implementations in the cc3200, stmhal and teensy
ports to use the pyhelp_print_obj function.
</content>
</entry>
<entry>
<title>py: Add rules for automated extraction of qstrs from sources.</title>
<updated>2016-04-16T12:18:09+00:00</updated>
<author>
<name>Jan Čapek</name>
<email>jan.capek@braiins.cz</email>
</author>
<published>2016-03-10T09:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d76c65f599b77aa275eda3d2248cde16f6be7e10'/>
<id>urn:sha1:d76c65f599b77aa275eda3d2248cde16f6be7e10</id>
<content type='text'>
- add template rule that converts a specified source file into a qstring file

- add special rule for generating a central header that contains all
  extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED
  variable. Each platform appends a list of sources that may contain
  qstrings into a new build variable: SRC_QSTR. Any autogenerated
  prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable.

- remove most qstrings from py/qstrdefs, keep only qstrings that
  contain special characters - these cannot be easily detected in the
  sources without additional annotations

- remove most manual qstrdefs, use qstrdef autogen for: py, cc3200,
  stmhal, teensy, unix, windows, pic16bit:

   - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,&lt;,&gt; etc.)
   - remove all port specific qstrdefs except for special strings
   - append sources for qstr generation in platform makefiles (SRC_QSTR)
</content>
</entry>
<entry>
<title>py: Add ability to have frozen persistent bytecode from .mpy files.</title>
<updated>2016-04-13T15:07:47+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-31T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0a2e9650f5383bc1190d6b27a3d923e313c3d879'/>
<id>urn:sha1:0a2e9650f5383bc1190d6b27a3d923e313c3d879</id>
<content type='text'>
The config variable MICROPY_MODULE_FROZEN is now made of two separate
parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY.  This
allows to have none, either or both of frozen strings and frozen mpy
files (aka frozen bytecode).
</content>
</entry>
<entry>
<title>lib/utils/printf: Move from stmhal/ .</title>
<updated>2015-11-10T16:58:58+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-10T16:57:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=73ff0687f2f5331e962a4af0126097e9921db631'/>
<id>urn:sha1:73ff0687f2f5331e962a4af0126097e9921db631</id>
<content type='text'>
This file contains various MicroPython-specific helper functions, so isn't
good fit for lib/libc/.
</content>
</entry>
<entry>
<title>teensy: Switch over to using frozen modules instead of memzip</title>
<updated>2015-11-04T14:21:21+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-11-01T05:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=53ea2b5ce2f7088c871c6c264899e4eae7973859'/>
<id>urn:sha1:53ea2b5ce2f7088c871c6c264899e4eae7973859</id>
<content type='text'>
I left memzip in for the time being, so you can choose in
the Makefile whether to USE_FROZEN or USE_MEMZIP.

It looks like using frozen saves about 2472 bytes (using my
set of 15 python files), mostly due to overheads in the
zip file format.
</content>
</entry>
<entry>
<title>lib/memzip: Factor out memzip from teensy/ into lib/memzip.</title>
<updated>2015-11-04T14:21:10+00:00</updated>
<author>
<name>Dave Hylands</name>
<email>dhylands@gmail.com</email>
</author>
<published>2015-11-01T04:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=074d713bfb845a87e557e608f5215f53694e7d01'/>
<id>urn:sha1:074d713bfb845a87e557e608f5215f53694e7d01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stmhal: pyexec.c is common module, move to lib/utils/ .</title>
<updated>2015-10-31T16:35:10+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-31T16:35:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0ec51441de4db3fc776b1f2013005391caa910d3'/>
<id>urn:sha1:0ec51441de4db3fc776b1f2013005391caa910d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefiles: Remove duplicate object files when linking.</title>
<updated>2015-10-24T12:46:53+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-23T23:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=0dbd928ceefed09d65276211c70d0137b4734011'/>
<id>urn:sha1:0dbd928ceefed09d65276211c70d0137b4734011</id>
<content type='text'>
Scenario: module1 depends on some common file from lib/, so specifies it
in its SRC_MOD, and the same situation with module2, then common file
from lib/ eventually ends up listed twice in $(OBJ), which leads to link
errors.

Make is equipped to deal with such situation easily, quoting the manual:
"The value of $^ omits duplicate prerequisites, while $+ retains them and
preserves their order." So, just use $^ consistently in all link targets.
</content>
</entry>
<entry>
<title>all: Make netutils.h available to all ports by default.</title>
<updated>2015-10-19T15:32:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-10-19T15:22:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e0f5df579b6cf0410b9693f9a75d9b50a0de350e'/>
<id>urn:sha1:e0f5df579b6cf0410b9693f9a75d9b50a0de350e</id>
<content type='text'>
Generally, ports should inherit INC from py.mk, append to it, not
overwrite it. TODO: Likely should do the same for other vars too.
</content>
</entry>
<entry>
<title>string0.c: Move from stmhal/ to lib/.</title>
<updated>2015-04-05T18:57:55+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-04-05T18:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3a84c8b58d7c87785bf1ae48eb41c91ecde9fc1c'/>
<id>urn:sha1:3a84c8b58d7c87785bf1ae48eb41c91ecde9fc1c</id>
<content type='text'>
</content>
</entry>
</feed>
