<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/nrf/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>nrf/Makefile: Add support for flashing with nrfutil.</title>
<updated>2020-12-07T19:04:50+00:00</updated>
<author>
<name>Glenn Ruben Bakke</name>
</author>
<published>2020-07-16T21:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=634f6df32485457dd1c236633cffd49177aaf826'/>
<id>634f6df32485457dd1c236633cffd49177aaf826</id>
<content type='text'>
An additional Makefile parameter NRFUTIL_PORT can be set in order
to define the serial port to used for the DFU (Default: /dev/ttyACM0).

The "nrfutil" that is used as flasher towards OpenBootloader is
available for installation through Python "pip".

In case of SD=s140, SoftDevice ID 0xB6 is passed to nrfutil's package
generation which corresponds to SoftDevice s140 v6.1.1.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An additional Makefile parameter NRFUTIL_PORT can be set in order
to define the serial port to used for the DFU (Default: /dev/ttyACM0).

The "nrfutil" that is used as flasher towards OpenBootloader is
available for installation through Python "pip".

In case of SD=s140, SoftDevice ID 0xB6 is passed to nrfutil's package
generation which corresponds to SoftDevice s140 v6.1.1.
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf/Makefile: Add bootloader specific section.</title>
<updated>2020-12-07T19:04:50+00:00</updated>
<author>
<name>Glenn Ruben Bakke</name>
</author>
<published>2020-07-16T21:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=718397a37d7ec2071b5f5d3668c31e6b8f69f3b9'/>
<id>718397a37d7ec2071b5f5d3668c31e6b8f69f3b9</id>
<content type='text'>
Add the option for "mpconfigboard.mk" to define whether the
board hosts a bootloader or not. The BOOTLOADER make variable
must be set to the name of the bootloader.

When the BOOTLOADER name is set it is also required to supply
the BOOTLOADER_VERSION_MAJOR and the BOOTLOADER_VERSION_MINOR
from the "mpconfigboards.mk". These will be used to resolve which
bootloader linker script that should be passed to the linker.

The BOOTLOADER section also supplies the C-compiler with
BOOTLOADER_&lt;bootloader name&gt;=&lt;version major&gt;&lt;version minor&gt;
as a compiler define. This is for future use in case a bootloader
needs to do modification to the startup files or similar (like
setting the VTOR specific to a version of a bootloader).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the option for "mpconfigboard.mk" to define whether the
board hosts a bootloader or not. The BOOTLOADER make variable
must be set to the name of the bootloader.

When the BOOTLOADER name is set it is also required to supply
the BOOTLOADER_VERSION_MAJOR and the BOOTLOADER_VERSION_MINOR
from the "mpconfigboards.mk". These will be used to resolve which
bootloader linker script that should be passed to the linker.

The BOOTLOADER section also supplies the C-compiler with
BOOTLOADER_&lt;bootloader name&gt;=&lt;version major&gt;&lt;version minor&gt;
as a compiler define. This is for future use in case a bootloader
needs to do modification to the startup files or similar (like
setting the VTOR specific to a version of a bootloader).
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf/Makefile: Improve user C modules support.</title>
<updated>2020-08-26T20:14:40+00:00</updated>
<author>
<name>Roberto Colistete Jr</name>
</author>
<published>2020-08-15T05:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=91c5d168c061ec45a548876a76a5540316d02594'/>
<id>91c5d168c061ec45a548876a76a5540316d02594</id>
<content type='text'>
Add CFLAGS_EXTRA to CFLAGS. Include LDFLAGS_MOD to the compilation.
And, add SRC_MOD to SRC_QSTR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add CFLAGS_EXTRA to CFLAGS. Include LDFLAGS_MOD to the compilation.
And, add SRC_MOD to SRC_QSTR.
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf/Makefile: Disable ROM text compression when compiling for debug.</title>
<updated>2020-07-01T12:54:52+00:00</updated>
<author>
<name>Glenn Ruben Bakke</name>
</author>
<published>2020-06-27T11:07:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c2317a3a8d5f184de2f816078d91be699274b94e'/>
<id>c2317a3a8d5f184de2f816078d91be699274b94e</id>
<content type='text'>
When compiling for debug (-O0) the .text segment cannot fit the flash
region when MICROPY_ROM_TEXT_COMPRESSION=1, because the compiler does not
optimise away the large if-else chain used to select the correct compressed
string.

This commit enforces MICROPY_ROM_TEXT_COMPRESSION=0 when compiling for
debug (DEBUG=1).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When compiling for debug (-O0) the .text segment cannot fit the flash
region when MICROPY_ROM_TEXT_COMPRESSION=1, because the compiler does not
optimise away the large if-else chain used to select the correct compressed
string.

This commit enforces MICROPY_ROM_TEXT_COMPRESSION=0 when compiling for
debug (DEBUG=1).
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf: Add openocd as a supported flasher.</title>
<updated>2020-05-15T05:06:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-04-20T06:22:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cd9a8c174209c869bd590e8408503dc20863c291'/>
<id>cd9a8c174209c869bd590e8408503dc20863c291</id>
<content type='text'>
Tested with the Particle Debugger on a Xenon.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested with the Particle Debugger on a Xenon.
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf: Update to work with nrfx v2.0.0, to match TinyUSB.</title>
<updated>2020-05-15T05:06:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-03-25T06:01:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=e7f8c7d9a390414808542e4a3a7f2a609278b5fc'/>
<id>e7f8c7d9a390414808542e4a3a7f2a609278b5fc</id>
<content type='text'>
Commit 6cea369b89b2223cf07ff8768e50dc39bbb770fe updated the TinyUSB
submodule to a version based on nrfx v2.0.0.  This commit updates the nrf
port to work with the latest TinyUSB and nrfx v2.0.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 6cea369b89b2223cf07ff8768e50dc39bbb770fe updated the TinyUSB
submodule to a version based on nrfx v2.0.0.  This commit updates the nrf
port to work with the latest TinyUSB and nrfx v2.0.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf/Makefile: Don't use -fno-builtin for Cortex-M0 builds.</title>
<updated>2020-05-15T03:39:12+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-05-14T13:13:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=eb5e9c00f8119e8a69dea7590dbbe25a67a38e38'/>
<id>eb5e9c00f8119e8a69dea7590dbbe25a67a38e38</id>
<content type='text'>
So that error string compression is optimised correctly (it needs strcmp to
be optimised away by the compiler).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So that error string compression is optimised correctly (it needs strcmp to
be optimised away by the compiler).
</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: Add lib/libm/roundf.c to bare-metal Makefile's.</title>
<updated>2020-03-24T14:22:00+00:00</updated>
<author>
<name>Zoltán Vörös</name>
</author>
<published>2020-03-24T07:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c5cc64175be32cb1e4f3f1a249667bc9f5a12613'/>
<id>c5cc64175be32cb1e4f3f1a249667bc9f5a12613</id>
<content type='text'>
This function is not used by the core but having it as part of the build
allows it to be used by user C modules, or board extensions.  The linker
won't include it in the final firmware if it remains unused.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function is not used by the core but having it as part of the build
allows it to be used by user C modules, or board extensions.  The linker
won't include it in the final firmware if it remains unused.
</pre>
</div>
</content>
</entry>
<entry>
<title>nrf: Remove custom "random" module and use extmod version instead.</title>
<updated>2020-02-18T01:43:16+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-02-14T02:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6ad3bb1e121128b3ad3a5acacda97459f3a75514'/>
<id>6ad3bb1e121128b3ad3a5acacda97459f3a75514</id>
<content type='text'>
Hardware RNG code is moved to drivers/rng.[ch].
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hardware RNG code is moved to drivers/rng.[ch].
</pre>
</div>
</content>
</entry>
</feed>
