commit | f5e7753b9e82ade7e401ad8adce103855b2fad29 | [log] [tgz] |
---|---|---|
author | Piotr Dymacz <pepe2k@gmail.com> | Sun Oct 30 17:43:45 2022 +0100 |
committer | Dominik Ermel <56024351+de-nordic@users.noreply.github.com> | Tue Mar 21 15:10:12 2023 +0100 |
tree | 57b7ef34107da0c7f449274122eb6805e06c6916 | |
parent | 569b1d6393dde711be971b2db54f628a85d81901 [diff] |
boot_serial: support fragmentation for outgoing SMP packets The mcumgr packet sent over serial should be fragmented into frames of up to 127 bytes, including 2-bytes frame start header and 1-byte for terminating newline [1], resulting in up to 124 bytes for the base64 encoded payload. Current implementation doesn't fulfill above requirement and transmits single frames, without considering their length. This change introduces support for fragmenting as defined in 'SMP over console' specification. [1] github.com/apache/mynewt-mcumgr/blob/master/transport/smp-console.md Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
This is MCUboot version 1.10.0-rc1
MCUboot is a secure bootloader for 32-bits microcontrollers. It defines a common infrastructure for the bootloader and the system flash layout on microcontroller systems, and provides a secure bootloader that enables easy software upgrade.
MCUboot is not dependent on any specific operating system and hardware and relies on hardware porting layers from the operating system it works with. Currently, MCUboot works with the following operating systems and SoCs:
RIOT is supported only as a boot target. We will accept any new port contributed by the community once it is good enough.
See the following pages for instructions on using MCUboot with different operating systems and SoCs:
There are also instructions for the Simulator.
The issues being planned and worked on are tracked using GitHub issues. To give your input, visit MCUboot GitHub Issues.
You can find additional documentation on the bootloader in the source files. For more information, use the following links:
Developers are welcome!
Use the following links to join or see more about the project: