mcuboot/boot/boot_serial
Andrzej Puzdrowski f48de7a523 boot/boot_serial: allow nonaligned last chunk
The last data packet might be non aligned to multiple of
the flash write-block-size. This cause that the `image upload`
mcumgr command mighty fail if the device flash driver doesn't
support one-byte write-block-size.

This patch complements the last write operation to aligned chunk
so it meet the requirements.

Added check for ensure than received data chunk doesn't
cross expected image size.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2020-10-23 17:01:00 +02:00
..
include/boot_serial
src boot/boot_serial: allow nonaligned last chunk 2020-10-23 17:01:00 +02:00
test mynewt: Make cflags consistent for if or ifdef usage 2019-10-21 17:22:34 -03:00
pkg.yml
syscfg.yml