<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/mpy-cross/main.c, branch 2.3.1</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.3.1</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.3.1'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-07-24T08:43:14+00:00</updated>
<entry>
<title>all: Don't include system errno.h when it's not needed.</title>
<updated>2017-07-24T08:43:14+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-24T08:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=aa7be82a4dff59b22763abbe1bd5e74c0e37b453'/>
<id>urn:sha1:aa7be82a4dff59b22763abbe1bd5e74c0e37b453</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross/main: Move lexer constructor to within NLR handler block.</title>
<updated>2017-03-14T00:52:05+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-03-14T00:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=97142000f78fab8d1646efc17d60ac0e20919bd5'/>
<id>urn:sha1:97142000f78fab8d1646efc17d60ac0e20919bd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Get compiling after recent persistent code refactors.</title>
<updated>2016-11-16T09:25:36+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-11-16T09:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=85ae17c9938d65fe33835b72a8d98f2eda93605f'/>
<id>urn:sha1:85ae17c9938d65fe33835b72a8d98f2eda93605f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Use binary file translation mode for creating mpy files on windows</title>
<updated>2016-07-22T18:21:54+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2016-07-22T09:54:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9bdb82ef6b3147662ffc6b6435c6bd376c60e19e'/>
<id>urn:sha1:9bdb82ef6b3147662ffc6b6435c6bd376c60e19e</id>
<content type='text'>
This is a fix for https://github.com/micropython/micropython/issues/2209:
by default a file created using open() uses text translation mode so writing
\n to it will result in the file having \r\n. This is obviously problematic
for binary .mpy files, so provide functions for setting the open mode
and use binary mode in mpy-cross' main().
</content>
</entry>
<entry>
<title>mpy-cross: Add -s option to specify the embedded source filename.</title>
<updated>2016-05-23T12:25:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-23T12:25:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=74fb4e795b6a709a21803b30df7dbb66aa88b354'/>
<id>urn:sha1:74fb4e795b6a709a21803b30df7dbb66aa88b354</id>
<content type='text'>
.mpy files contain the name of the source file that they were compiled
from.  This patch adds a way to change this name to an arbitrary string,
specified on the command line with the -s option.  The default is to use
the full name of the input filename.

This new -s option is useful to strip off a leading directory name so
that mpy-tool.py can freeze packages.
</content>
</entry>
<entry>
<title>mpy-cross: Give a more sensible error message when file doesn't exist.</title>
<updated>2016-03-02T16:12:00+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-03-02T16:12:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=3d1d92acfcfbc47677466409fc9f60effae37678'/>
<id>urn:sha1:3d1d92acfcfbc47677466409fc9f60effae37678</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross: Add new component, a cross compiler for MicroPython bytecode.</title>
<updated>2016-02-25T10:12:21+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-02-11T22:37:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=56f76b873a28a35f045c93cb9d76d78827f87462'/>
<id>urn:sha1:56f76b873a28a35f045c93cb9d76d78827f87462</id>
<content type='text'>
This component allows to generate .mpy files (pre compiled bytecode)
which can be executed within any MicroPython runtime/VM.
</content>
</entry>
</feed>
