<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/ports/stm32/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>stm32/boards/pllvalues.py: Relax PLLQ constraints on STM32F413 MCUs.</title>
<updated>2021-04-07T02:47:21+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-07T02:05:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cb396827f56f79741efeaa127b9c71c72bba3584'/>
<id>cb396827f56f79741efeaa127b9c71c72bba3584</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32: Include .ARM section in firmware for C++ exception handling.</title>
<updated>2021-04-06T02:11:15+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-04-06T02:11:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=25ae169e6ec5ada4d80f6632b72b711c0b5e4c98'/>
<id>25ae169e6ec5ada4d80f6632b72b711c0b5e4c98</id>
<content type='text'>
Support for C++ was added in 97960dc7deb7a0e691fca5944402cd03386b744b but
that commit didn't include the C++ exception handling table in the binary
firmware image.  This commit fixes that.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support for C++ was added in 97960dc7deb7a0e691fca5944402cd03386b744b but
that commit didn't include the C++ exception handling table in the binary
firmware image.  This commit fixes that.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/Makefile: Allow QSTR_DEFS,QSTR_GLOBAL_DEPENDENCIES to be extended.</title>
<updated>2021-03-16T23:25:16+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-03-16T23:25:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=6e5aea08a9916c5acc6893e4829bba25fbab32ba'/>
<id>6e5aea08a9916c5acc6893e4829bba25fbab32ba</id>
<content type='text'>
So a board can provide custom qstr definitions if needed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So a board can provide custom qstr definitions if needed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/Makefile: Fix C++ linker flags when toolchain has spaces in path.</title>
<updated>2021-03-16T01:54:16+00:00</updated>
<author>
<name>stijn</name>
</author>
<published>2021-03-15T08:30:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=d53a6d58b04e524e4ec5ee937a15cc3932f8ee2f'/>
<id>d53a6d58b04e524e4ec5ee937a15cc3932f8ee2f</id>
<content type='text'>
The GNU Make dir command uses spaces as item separator so it does not
work for e.g building the STM32 port on Cygwin with a default Arm
installation in "c:/program files (x86)/GNU Arm Embedded Toolchain".
Fix by using POSIX dirname on a quoted path instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The GNU Make dir command uses spaces as item separator so it does not
work for e.g building the STM32 port on Cygwin with a default Arm
installation in "c:/program files (x86)/GNU Arm Embedded Toolchain".
Fix by using POSIX dirname on a quoted path instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/Makefile: Use MBOOT_PACK_KEYS_FILE as depedency of .pack.dfu.</title>
<updated>2021-01-18T02:53:54+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-01-18T02:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=49dd9ba1a5e50c400a3cfd604dd884bf9fea628c'/>
<id>49dd9ba1a5e50c400a3cfd604dd884bf9fea628c</id>
<content type='text'>
To match the definition of GENERATE_PACK_DFU, so a board can customise the
location/name of this file if needed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To match the definition of GENERATE_PACK_DFU, so a board can customise the
location/name of this file if needed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/mboot: Add support for signed and encrypted firmware updates.</title>
<updated>2021-01-18T01:43:01+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-01-14T16:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c6f334272a34e007462347f067013944e57bfe33'/>
<id>c6f334272a34e007462347f067013944e57bfe33</id>
<content type='text'>
This commit adds support to stm32's mboot for signe, encrypted and
compressed DFU updates.  It is based on inital work done by Andrew Leech.

The feature is enabled by setting MBOOT_ENABLE_PACKING to 1 in the board's
mpconfigboard.mk file, and by providing a header file in the board folder
(usually called mboot_keys.h) with a set of signing and encryption keys
(which can be generated by mboot_pack_dfu.py).  The signing and encryption
is provided by libhydrogen.  Compression is provided by uzlib.  Enabling
packing costs about 3k of flash.

The included mboot_pack_dfu.py script converts a .dfu file to a .pack.dfu
file which can be subsequently deployed to a board with mboot in packing
mode.  This .pack.dfu file is created as follows:
- the firmware from the original .dfu is split into chunks (so the
  decryption can fit in RAM)
- each chunk is compressed, encrypted, a header added, then signed
- a special final chunk is added with a signature of the entire firmware
- all chunks are concatenated to make the final .pack.dfu file

The .pack.dfu file can be deployed over USB or from the internal filesystem
on the device (if MBOOT_FSLOAD is enabled).

See #5267 and #5309 for additional discussion.

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 adds support to stm32's mboot for signe, encrypted and
compressed DFU updates.  It is based on inital work done by Andrew Leech.

The feature is enabled by setting MBOOT_ENABLE_PACKING to 1 in the board's
mpconfigboard.mk file, and by providing a header file in the board folder
(usually called mboot_keys.h) with a set of signing and encryption keys
(which can be generated by mboot_pack_dfu.py).  The signing and encryption
is provided by libhydrogen.  Compression is provided by uzlib.  Enabling
packing costs about 3k of flash.

The included mboot_pack_dfu.py script converts a .dfu file to a .pack.dfu
file which can be subsequently deployed to a board with mboot in packing
mode.  This .pack.dfu file is created as follows:
- the firmware from the original .dfu is split into chunks (so the
  decryption can fit in RAM)
- each chunk is compressed, encrypted, a header added, then signed
- a special final chunk is added with a signature of the entire firmware
- all chunks are concatenated to make the final .pack.dfu file

The .pack.dfu file can be deployed over USB or from the internal filesystem
on the device (if MBOOT_FSLOAD is enabled).

See #5267 and #5309 for additional discussion.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/Makefile: Change -O0 to -Og for DEBUG=1 builds.</title>
<updated>2020-12-07T11:27:38+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-12-07T06:11:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cb1bb7592e18a50f33d22f84614c5ee9f45ce21e'/>
<id>cb1bb7592e18a50f33d22f84614c5ee9f45ce21e</id>
<content type='text'>
The -Og optimisation level produces a more realistic build, gives a better
debugging experience, and generates smaller code than -O0, allowing debug
builds to fit in flash.

This commit also assigns variables in can.c to prevent warnings when -Og is
used, and builds a board in CI with DEBUG=1 enabled.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The -Og optimisation level produces a more realistic build, gives a better
debugging experience, and generates smaller code than -O0, allowing debug
builds to fit in flash.

This commit also assigns variables in can.c to prevent warnings when -Og is
used, and builds a board in CI with DEBUG=1 enabled.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>stm32/Makefile: Disable text compression in debug builds.</title>
<updated>2020-12-07T05:45:15+00:00</updated>
<author>
<name>iabdalkader</name>
</author>
<published>2020-11-27T00:38:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=ce9197eb209bacd1453ae2ef83523aa0fa1f9b45'/>
<id>ce9197eb209bacd1453ae2ef83523aa0fa1f9b45</id>
<content type='text'>
Otherwise the flash overflows.

Fixes issue #6653.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the flash overflows.

Fixes issue #6653.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Add API for L2CAP channels.</title>
<updated>2020-11-23T14:07:17+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-10-15T13:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=0e8af2b3708ab3e499491836d481b10e030408f8'/>
<id>0e8af2b3708ab3e499491836d481b10e030408f8</id>
<content type='text'>
Also known as L2CAP "connection oriented channels". This provides a
socket-like data transfer mechanism for BLE.

Currently only implemented for NimBLE on STM32 / Unix.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also known as L2CAP "connection oriented channels". This provides a
socket-like data transfer mechanism for BLE.

Currently only implemented for NimBLE on STM32 / Unix.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Re-instate optional no-ringbuf modbluetooth.</title>
<updated>2020-11-13T06:19:05+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-10-28T02:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=81e92d3d6e1a605a6115821ac24dcbc2546ba0f9'/>
<id>81e92d3d6e1a605a6115821ac24dcbc2546ba0f9</id>
<content type='text'>
This requires that the event handlers are called from non-interrupt context
(i.e. the MicroPython scheduler).

This will allow the BLE stack (e.g. NimBLE) to run from the scheduler
rather than an IRQ like PENDSV, and therefore be able to invoke Python
callbacks directly/synchronously.  This allows writing Python BLE handlers
for events that require immediate response such as _IRQ_READ_REQUEST (which
was previous a hard IRQ) and future events relating to pairing/bonding.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires that the event handlers are called from non-interrupt context
(i.e. the MicroPython scheduler).

This will allow the BLE stack (e.g. NimBLE) to run from the scheduler
rather than an IRQ like PENDSV, and therefore be able to invoke Python
callbacks directly/synchronously.  This allows writing Python BLE handlers
for events that require immediate response such as _IRQ_READ_REQUEST (which
was previous a hard IRQ) and future events relating to pairing/bonding.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
