<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/mpy-cross, branch 0.10.0</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.10.0</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=0.10.0'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-11-16T09:25:36+00:00</updated>
<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: Don't use the internal printf functions.</title>
<updated>2016-09-05T07:30:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-05T07:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2b882e9acaecd92cf3107a597c9aba99f23b794e'/>
<id>urn:sha1:2b882e9acaecd92cf3107a597c9aba99f23b794e</id>
<content type='text'>
They require mp_hal_stdout_tx_strn_cooked, which requires extra work to
add to mpy-cross.
</content>
</entry>
<entry>
<title>ports: Remove typedef of machine_ptr_t, it's no longer needed.</title>
<updated>2016-08-15T01:02:59+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-08-15T01:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=675d1c9c600224820f49f912e4ff7d6cf2f97711'/>
<id>urn:sha1:675d1c9c600224820f49f912e4ff7d6cf2f97711</id>
<content type='text'>
This type was used only for the typedef of mp_obj_t, which is now defined
by the object representation.  So we can now remove this unused typedef,
to simplify the mpconfigport.h file.
</content>
</entry>
<entry>
<title>mpy-cross: Fix mingw and msys2 compilation</title>
<updated>2016-07-30T18:15:45+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2016-07-25T12:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=37b143ce9ef761f4f0648bae447617f019fc34e1'/>
<id>urn:sha1:37b143ce9ef761f4f0648bae447617f019fc34e1</id>
<content type='text'>
When compiling with msys2's gcc there's no need to apply the binary fmode
so adjust the Makefile to reflect that.
When compiling with mingw we need to include malloc.h since there is no
alloca.h, and the 64bit detection in mpconfigport.h needs some adjustment.
</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: Fix Makefile to handle gc-sections linker flags on OS X.</title>
<updated>2016-07-11T11:12:07+00:00</updated>
<author>
<name>Anton Sokolchenko</name>
<email>wsevendays@gmail.com</email>
</author>
<published>2016-07-08T23:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e9f3fb76620fd2f9a392f2e879431843c27024cc'/>
<id>urn:sha1:e9f3fb76620fd2f9a392f2e879431843c27024cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add MP_STATE_THREAD to hold state specific to a given thread.</title>
<updated>2016-06-28T10:09:31+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-04-22T22:44:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=330165a2cc9a0d4d5d00f13f851412c25d5f4ed2'/>
<id>urn:sha1:330165a2cc9a0d4d5d00f13f851412c25d5f4ed2</id>
<content type='text'>
</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: Remove setting of MICROPY_FORCE_32BIT=1 from Makefile.</title>
<updated>2016-03-09T15:56:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-03-09T15:56:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=853fb08d0d42cca2087fb5b6ae24278bafd6a503'/>
<id>urn:sha1:853fb08d0d42cca2087fb5b6ae24278bafd6a503</id>
<content type='text'>
Building in 32-bit mode was only to reduce binary size on 64-bit machines
and is otherwise not needed.  Having it forced to 32-bit meant an
unnecessary dependency on 32-bit libraries that is now removed.
</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>
</feed>
