<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/mpy-cross/Makefile, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>mpy-cross: Enable more warnings.</title>
<updated>2020-10-22T09:54:11+00:00</updated>
<author>
<name>Emil Renner Berthing</name>
</author>
<published>2020-10-03T09:29:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=bef412789ea93c521bd9c2dddc22b9b3484da574'/>
<id>bef412789ea93c521bd9c2dddc22b9b3484da574</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Factor gchelper code to one place and use it for unix &amp; ARM ports.</title>
<updated>2020-04-29T13:45:19+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-04-23T06:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=710426024aece6d248c26bef6627bc3fac13f612'/>
<id>710426024aece6d248c26bef6627bc3fac13f612</id>
<content type='text'>
No functionality change is intended with this commit, it just consolidates
the separate implementations of GC helper code to the lib/utils/ directory
as a general set of helper functions useful for any port.  This reduces
duplication of code, and makes it easier for future ports or embedders to
get the GC implementation correct.

Ports should now link against gchelper_native.c and either gchelper_m0.s or
gchelper_m3.s (currently only Cortex-M is supported but other architectures
can follow), or use the fallback gchelper_generic.c which will work on
x86/x64/ARM.

The gc_helper_get_sp function from gchelper_m3.s is not really GC related
and was only used by cc3200, so it has been moved to that port and renamed
to cortex_m3_get_sp.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No functionality change is intended with this commit, it just consolidates
the separate implementations of GC helper code to the lib/utils/ directory
as a general set of helper functions useful for any port.  This reduces
duplication of code, and makes it easier for future ports or embedders to
get the GC implementation correct.

Ports should now link against gchelper_native.c and either gchelper_m0.s or
gchelper_m3.s (currently only Cortex-M is supported but other architectures
can follow), or use the fallback gchelper_generic.c which will work on
x86/x64/ARM.

The gc_helper_get_sp function from gchelper_m3.s is not really GC related
and was only used by cc3200, so it has been moved to that port and renamed
to cortex_m3_get_sp.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross: Do not automatically build mpy-cross, rather do it manually.</title>
<updated>2019-06-03T04:44:44+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-05-31T04:37:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=41739506589ec8397613c86d8f682fb7f86c0a9f'/>
<id>41739506589ec8397613c86d8f682fb7f86c0a9f</id>
<content type='text'>
Building mpy-cross automatically leads to some issues with the build
process and slows it down.  Instead, require it to be built manually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Building mpy-cross automatically leads to some issues with the build
process and slows it down.  Instead, require it to be built manually.
</pre>
</div>
</content>
</entry>
<entry>
<title>py: Update and rework build system for including external C modules.</title>
<updated>2019-03-08T11:58:42+00:00</updated>
<author>
<name>Andrew Leech</name>
</author>
<published>2018-12-12T05:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=89ff506513d52c0c415b2cf45335d60cefac527d'/>
<id>89ff506513d52c0c415b2cf45335d60cefac527d</id>
<content type='text'>
How to use this feature is documented in docs/develop/cmodules.rst.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
How to use this feature is documented in docs/develop/cmodules.rst.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross/Makefile: Also undefine MICROPY_FORCE_32BIT and CROSS_COMPILE.</title>
<updated>2018-08-14T07:20:18+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
</author>
<published>2018-07-29T11:58:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ab78fe0eb9997622e40d412d5f7d5e9b1a91e47a'/>
<id>ab78fe0eb9997622e40d412d5f7d5e9b1a91e47a</id>
<content type='text'>
mpy-cross is a host, not target binary. It should not be build with the
target compiler, compiler options and other settings. For example,

If someone currently tries to build from pristine checkout the unix port
with the following command:

    make CROSS_COMPILE=arm-linux-gnueabihf-

then mpy-cross will be built with arm-linux-gnueabihf-gcc and of course
won't run on the host, leading to overall build failure.

This situation was worked around for some options in 1d8c3f4cff1, so add
MICROPY_FORCE_32BIT and CROSS_COMPILE to that set too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mpy-cross is a host, not target binary. It should not be build with the
target compiler, compiler options and other settings. For example,

If someone currently tries to build from pristine checkout the unix port
with the following command:

    make CROSS_COMPILE=arm-linux-gnueabihf-

then mpy-cross will be built with arm-linux-gnueabihf-gcc and of course
won't run on the host, leading to overall build failure.

This situation was worked around for some options in 1d8c3f4cff1, so add
MICROPY_FORCE_32BIT and CROSS_COMPILE to that set too.
</pre>
</div>
</content>
</entry>
<entry>
<title>mpy-cross: Make build independent of extmod directory.</title>
<updated>2018-07-10T04:11:28+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-07-10T04:11:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ee40d1704fc3ec285f0be67ef7010670a1c5c01a'/>
<id>ee40d1704fc3ec285f0be67ef7010670a1c5c01a</id>
<content type='text'>
mpy-cross doesn't depend on any code in the extmod directory so completely
exclude it from the build (extmod may still be scanned for qstrs but that
is controlled by py/py.mk).  This speeds up the build a little, and
improves abstraction of this component.

Also, make -I$(BUILD) take precedence over -I$(TOP) in case there are stray
files in the root directory that would be picked up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mpy-cross doesn't depend on any code in the extmod directory so completely
exclude it from the build (extmod may still be scanned for qstrs but that
is controlled by py/py.mk).  This speeds up the build a little, and
improves abstraction of this component.

Also, make -I$(BUILD) take precedence over -I$(TOP) in case there are stray
files in the root directory that would be picked up.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Update Makefiles and others to build with new ports/ dir layout.</title>
<updated>2017-09-06T04:09:13+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2017-09-06T04:09:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4a93801c12898898744131f57d79cf216d0861b3'/>
<id>4a93801c12898898744131f57d79cf216d0861b3</id>
<content type='text'>
Also renames "stmhal" to "stm32" in documentation and everywhere else.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also renames "stmhal" to "stm32" in documentation and everywhere else.
</pre>
</div>
</content>
</entry>
<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>
</author>
<published>2017-08-11T02:22:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=7d4a2f773cc6ce24a91e2d210378188f3371e8a6'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$(TOP) is defined in py/mkenv.mk and should be used to refer to the top
level of this repository.
</pre>
</div>
</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>
</author>
<published>2017-06-30T07:22:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=55f33240f3d7051d4213629e92437a36f1fac50e'/>
<id>55f33240f3d7051d4213629e92437a36f1fac50e</id>
<content type='text'>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were several different spellings of MicroPython present in comments,
when there should be only one.
</pre>
</div>
</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>
</author>
<published>2017-07-19T03:12:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f'/>
<id>761e4c7ff62896c7d8f8c3dfc3cc98a4cc4f2f6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
