<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/minimal/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>minimal: Make build more flexible and work as 64-bit build.</title>
<updated>2020-06-02T05:43:44+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-05-29T21:35:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=8e591d412a9922d71629f4fea74954d547f0c955'/>
<id>8e591d412a9922d71629f4fea74954d547f0c955</id>
<content type='text'>
Changes are:
- string0 is no longer built when building for host as the target, because
  it'll be provided by the system libc and may in some cases clash with the
  system one (eg on OSX).
- mp_int_t/mp_uint_t are defined in terms of intptr_t/uintptr_t to support
  both 32-bit and 64-bit builds.
- Configuration values which are the default in py/mpconfig.h are removed
  from mpconfigport.h to make the configuration a bit more minimal, eg as
  a better starting point for new ports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes are:
- string0 is no longer built when building for host as the target, because
  it'll be provided by the system libc and may in some cases clash with the
  system one (eg on OSX).
- mp_int_t/mp_uint_t are defined in terms of intptr_t/uintptr_t to support
  both 32-bit and 64-bit builds.
- Configuration values which are the default in py/mpconfig.h are removed
  from mpconfigport.h to make the configuration a bit more minimal, eg as
  a better starting point for new ports.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Enable extra conversion warnings where applicable.</title>
<updated>2020-04-18T12:42:28+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2020-04-09T11:59:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b'/>
<id>30840ebc9925bb8ef025dbc2d5982b1bfeb75f1b</id>
<content type='text'>
Add -Wdouble-promotion and -Wfloat-conversion for most ports to ban out
implicit floating point conversions, and add extra Travis builds using
MICROPY_FLOAT_IMPL_FLOAT to uncover warnings which weren't found
previously.  For the unix port -Wsign-comparison is added as well but only
there since only clang supports this but gcc doesn't.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add -Wdouble-promotion and -Wfloat-conversion for most ports to ban out
implicit floating point conversions, and add extra Travis builds using
MICROPY_FLOAT_IMPL_FLOAT to uncover warnings which weren't found
previously.  For the unix port -Wsign-comparison is added as well but only
there since only clang supports this but gcc doesn't.
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Enable error text compression for various ports, but not all.</title>
<updated>2020-04-05T05:02:06+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-04T10:56:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=073b9a5eb888b26be7ce4c65e9649b6c3857ba39'/>
<id>073b9a5eb888b26be7ce4c65e9649b6c3857ba39</id>
<content type='text'>
Enabled on: bare-arm, minimal, unix coverage/dev/minimal, stm32, esp32,
esp8266, cc3200, teensy, qemu-arm, nrf.  Not enabled on others to be able
to test the code when the feature is disabled (the default case).

Code size change for this commit:

   bare-arm:  -600 -0.906%
minimal x86:  -308 -0.208%
   unix x64:    +0 +0.000%
unix nanbox:    +0 +0.000%
      stm32: -3368 -0.869% PYBV10
     cc3200: -1024 -0.558%
    esp8266: -2512 -0.368% GENERIC
      esp32: -2876 -0.205% GENERIC[incl -3168(data)]
        nrf: -1708 -1.173% pca10040
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enabled on: bare-arm, minimal, unix coverage/dev/minimal, stm32, esp32,
esp8266, cc3200, teensy, qemu-arm, nrf.  Not enabled on others to be able
to test the code when the feature is disabled (the default case).

Code size change for this commit:

   bare-arm:  -600 -0.906%
minimal x86:  -308 -0.208%
   unix x64:    +0 +0.000%
unix nanbox:    +0 +0.000%
      stm32: -3368 -0.869% PYBV10
     cc3200: -1024 -0.558%
    esp8266: -2512 -0.368% GENERIC
      esp32: -2876 -0.205% GENERIC[incl -3168(data)]
        nrf: -1708 -1.173% pca10040
       samd:    +0 +0.000% ADAFRUIT_ITSYBITSY_M4_EXPRESS
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Allow overriding CROSS_COMPILE in a custom makefile.</title>
<updated>2019-12-27T12:53:16+00:00</updated>
<author>
<name>David Lechner</name>
</author>
<published>2019-12-21T20:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=e79424d672919bfc59862d14f2d9e78e43e8582e'/>
<id>e79424d672919bfc59862d14f2d9e78e43e8582e</id>
<content type='text'>
Many ports already allow overriding CROSS_COMPILE.  This modifies the
remaining ports to allow it as well.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many ports already allow overriding CROSS_COMPILE.  This modifies the
remaining ports to allow it as well.
</pre>
</div>
</content>
</entry>
<entry>
<title>bare-arm, minimal: Set CSUPEROPT=-Os to get minimal firmware size.</title>
<updated>2019-09-17T01:43:52+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-09-12T12:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=b45f9de8096f37a5f588f833e6b6a00b59e67e3f'/>
<id>b45f9de8096f37a5f588f833e6b6a00b59e67e3f</id>
<content type='text'>
This option affects py/vm.c and py/gc.c and using -Os gets them compiling a
bit smaller, and small firmware is the aim of these two ports.  Also,
having these files compiled with -Os on these ports, and -O3 as the default
on other ports, gives a better understanding of code-size changes when
making changes to these files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option affects py/vm.c and py/gc.c and using -Os gets them compiling a
bit smaller, and small firmware is the aim of these two ports.  Also,
having these files compiled with -Os on these ports, and -O3 as the default
on other ports, gives a better understanding of code-size changes when
making changes to these files.
</pre>
</div>
</content>
</entry>
<entry>
<title>minimal: Use soft float for CROSS=1 Cortex-M4 target.</title>
<updated>2019-07-01T12:48:05+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-07-01T12:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=999733b1fb08fb07a31846115998dbf43a913327'/>
<id>999733b1fb08fb07a31846115998dbf43a913327</id>
<content type='text'>
When compiled with hard float the system should enable FP access when it
starts or else FP instructions lead to a fault.  But this minimal port does
not enable (or use) FP and so, to keep it minimal, switch to use soft
floating point.  (This became an issue due to the recent commit
34c04d2319cdfae01ed7bf7f9e341d69b86d751a which saves/restores FP registers
in the NLR state.)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When compiled with hard float the system should enable FP access when it
starts or else FP instructions lead to a fault.  But this minimal port does
not enable (or use) FP and so, to keep it minimal, switch to use soft
floating point.  (This became an issue due to the recent commit
34c04d2319cdfae01ed7bf7f9e341d69b86d751a which saves/restores FP registers
in the NLR state.)
</pre>
</div>
</content>
</entry>
<entry>
<title>minimal/Makefile: Explicitly include lib/utils/printf.c in build.</title>
<updated>2018-02-22T02:19:09+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-02-22T02:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a36c700d9b3bacd3bfba0eef5bf9c9ba19a0e440'/>
<id>a36c700d9b3bacd3bfba0eef5bf9c9ba19a0e440</id>
<content type='text'>
The bare-metal port needs it and it's no longer included by default since
the Makefile now uses $(PY_CORE_O).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The bare-metal port needs it and it's no longer included by default since
the Makefile now uses $(PY_CORE_O).
</pre>
</div>
</content>
</entry>
<entry>
<title>ports/{bare-arm,minimal}/Makefile: Only build with core source files.</title>
<updated>2018-02-22T01:48:51+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2018-02-22T00:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9df6451ec588e0e9bbd2e0f0eb2f177c01abd0f9'/>
<id>9df6451ec588e0e9bbd2e0f0eb2f177c01abd0f9</id>
<content type='text'>
These ports don't need anything from extmod so don't include those files
at all in the build.  This speeds up the build by about 10% when building
with a single core.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These ports don't need anything from extmod so don't include those files
at all in the build.  This speeds up the build by about 10% when building
with a single core.
</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>ports: Make new ports/ sub-directory and move all ports there.</title>
<updated>2017-09-06T03:40:51+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2017-09-06T03:40:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=01dd7804b87d60b2deab16712eccb3b97351a9b7'/>
<id>01dd7804b87d60b2deab16712eccb3b97351a9b7</id>
<content type='text'>
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to keep the top-level directory clean, to make it clear what is
core and what is a port, and to allow the repository to grow with new ports
in a sustainable way.
</pre>
</div>
</content>
</entry>
</feed>
