<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/mpy-cross/Makefile, branch 2.0.0-rc.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.0.0-rc.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=2.0.0-rc.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-08-11T02:22:19+00:00</updated>
<entry>
<title>all: Make use of $(TOP) variable in Makefiles, instead of "..".</title>
<updated>2017-08-11T02:22:19+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-08-11T02:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=7d4a2f773cc6ce24a91e2d210378188f3371e8a6'/>
<id>urn:sha1:7d4a2f773cc6ce24a91e2d210378188f3371e8a6</id>
<content type='text'>
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top
level of this repository.
</content>
</entry>
<entry>
<title>all: Use the name MicroPython consistently in comments</title>
<updated>2017-07-31T08:35:40+00:00</updated>
<author>
<name>Alexander Steffen</name>
<email>devel.20.webmeister@spamgourmet.com</email>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>urn:sha1:55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
</entry>
<entry>
<title>all: Remove trailing spaces, per coding conventions.</title>
<updated>2017-07-19T03:12:10+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-07-19T03:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f'/>
<id>urn:sha1:761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>mpy-cross/Makefile: Guard "override undefine" by test for make feature.</title>
<updated>2017-05-26T03:16:55+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-05-25T12:04:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ed6d2547dfcf8ef94c07e712f7bf625301e23724'/>
<id>urn:sha1:ed6d2547dfcf8ef94c07e712f7bf625301e23724</id>
<content type='text'>
make v3.81 doesn't have "undefine" so we can't use it with that version.
</content>
</entry>
<entry>
<title>mpy-cross/Makefile: Override undefine any inherited variables.</title>
<updated>2017-05-11T13:40:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-04-26T01:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1d8c3f4cff19e8128757a7c24ca98d6ea5e95c0d'/>
<id>urn:sha1:1d8c3f4cff19e8128757a7c24ca98d6ea5e95c0d</id>
<content type='text'>
This is a temporary hack to allow othe Makefiles to build mpy-cross
recursively.
</content>
</entry>
<entry>
<title>mpy-cross: Fix compiler detection for including windows/fmode.c</title>
<updated>2017-05-03T00:37:51+00:00</updated>
<author>
<name>stijn</name>
<email>stijn@ignitron.net</email>
</author>
<published>2016-08-10T08:19:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5b57ae985ff7064dd7b09b0ce891697bfaa5dae2'/>
<id>urn:sha1:5b57ae985ff7064dd7b09b0ce891697bfaa5dae2</id>
<content type='text'>
fmode.c should only be included for builds targetting 'pure' windows, i.e.
msvc or mingw builds but not when using msys or cygwin's gcc (see #2298).
Just checking if the OS is windows and UNAME doesn't have msys stil leaves
the gate open for builds with cygwin's gcc since UNAME there is e.g.
CYGWIN_NT-6.1-WOW.
Fix this by checking for 'mingw' explicitly in the compiler version; both
gcc and clang have the -dumpmachine flag so the check should be ok for
all platforms.
</content>
</entry>
<entry>
<title>all/Makefile: Remove -ansi from GCC flags, its ignored anyway.</title>
<updated>2017-03-23T04:32:12+00:00</updated>
<author>
<name>Krzysztof Blazewicz</name>
<email>blazewicz.krzysztof@gmail.com</email>
</author>
<published>2017-03-05T12:28:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=75589272ef12d538ab7ce4f4453be85d826b5083'/>
<id>urn:sha1:75589272ef12d538ab7ce4f4453be85d826b5083</id>
<content type='text'>
The -ansi flag is used for C dialect selection and it is equivalent to -std=c90.
Because it goes right before -std=gnu99 it is ignored as for conflicting flags
GCC always uses the last one.
</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>
</feed>
