<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/bare-arm, 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>bare-arm: Switch to use MICROPY_ERROR_REPORTING_NONE to reduce size.</title>
<updated>2021-04-27T13:52:40+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-27T13:52:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=43a8c8178e0b5e2460edde0fdf436509a7f28764'/>
<id>43a8c8178e0b5e2460edde0fdf436509a7f28764</id>
<content type='text'>
Reduces size of this port by about 3300 bytes, and demonstrates how to use
this feature.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduces size of this port by about 3300 bytes, and demonstrates how to use
this feature.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bare-arm: Clean up the code, make it run on an F405, and add a README.</title>
<updated>2021-03-19T03:20:26+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-12T10:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4fc2866f45692b05829d71b636724e690b786307'/>
<id>4fc2866f45692b05829d71b636724e690b786307</id>
<content type='text'>
This commit simplifies and cleans up the bare-arm port, and adds just
enough system and library code to make it execute on an STM32F405 MCU.

The mpconfigport.h configuration is simplified to just specify those
configuration values that are different from the defaults.  And the
addition of -fdata-sections and -ffunction-sections means the final
firmware is smaller than it previously was, by about 4200 bytes.

A README is also added.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit simplifies and cleans up the bare-arm port, and adds just
enough system and library code to make it execute on an STM32F405 MCU.

The mpconfigport.h configuration is simplified to just specify those
configuration values that are different from the defaults.  And the
addition of -fdata-sections and -ffunction-sections means the final
firmware is smaller than it previously was, by about 4200 bytes.

A README is also added.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ports: Disable MICROPY_PY_ASSIGN_EXPR in bare-arm and minimal ports.</title>
<updated>2020-06-16T12:06:21+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-06-16T11:42:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=2c5993c59e083d11ba8b85e82eeea9c5020ac553'/>
<id>2c5993c59e083d11ba8b85e82eeea9c5020ac553</id>
<content type='text'>
To keep these ports as minimal as possible.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To keep these ports as minimal as possible.
</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>py/mpconfig.h: Enable MICROPY_MODULE_GETATTR by default.</title>
<updated>2020-03-25T14:21:04+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-29T13:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=f8fc78691d4ee401184a62b7974ebdc8f16850ab'/>
<id>f8fc78691d4ee401184a62b7974ebdc8f16850ab</id>
<content type='text'>
To enable lazy loading of submodules (among other things), which is very
useful for MicroPython libraries that want to have optional subcomponents.

Disabled explicitly on minimal ports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To enable lazy loading of submodules (among other things), which is very
useful for MicroPython libraries that want to have optional subcomponents.

Disabled explicitly on minimal ports.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Reformat C and Python source code with tools/codeformat.py.</title>
<updated>2020-02-27T23:33:03+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-27T04:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=69661f3343bedf86e514337cff63d96cc42f8859'/>
<id>69661f3343bedf86e514337cff63d96cc42f8859</id>
<content type='text'>
This is run with uncrustify 0.70.1, and black 19.10b0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is run with uncrustify 0.70.1, and black 19.10b0.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Add *FORMAT-OFF* in various places.</title>
<updated>2020-02-27T23:31:07+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-26T00:58:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=3f39d18c2b884d32f0443e2e8114ff9d7a14d718'/>
<id>3f39d18c2b884d32f0443e2e8114ff9d7a14d718</id>
<content type='text'>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This string is recognised by uncrustify, to disable formatting in the
region marked by these comments.  This is necessary in the qstrdef*.h files
to prevent modification of the strings within the Q(...).  In other places
it is used to prevent excessive reformatting that would make the code less
readable.
</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>py: Add global default_emit_opt variable to make emit kind persistent.</title>
<updated>2019-08-28T02:47:58+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2019-08-23T01:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=af20c2ead3e9bb397fdf89e316aa78b56f165013'/>
<id>af20c2ead3e9bb397fdf89e316aa78b56f165013</id>
<content type='text'>
mp_compile no longer takes an emit_opt argument, rather this setting is now
provided by the global default_emit_opt variable.

Now, when -X emit=native is passed as a command-line option, the emitter
will be set for all compiled modules (included imports), not just the
top-level script.

In the future there could be a way to also set this variable from a script.

Fixes issue #4267.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mp_compile no longer takes an emit_opt argument, rather this setting is now
provided by the global default_emit_opt variable.

Now, when -X emit=native is passed as a command-line option, the emitter
will be set for all compiled modules (included imports), not just the
top-level script.

In the future there could be a way to also set this variable from a script.

Fixes issue #4267.
</pre>
</div>
</content>
</entry>
</feed>
