Skip to content

Commit b514a31

Browse files
MarekPietacarlescufi
authored andcommitted
[nrf fromlist] boot_serial: Increase BOOT_SERIAL_OUT_MAX
Upstream PR: mcu-tools/mcuboot#1144 Change increases BOOT_SERIAL_OUT_MAX. This is necessary to provide complete image list when multi-image DFU is enabled and four image slots are occupied. (cherry picked from commit 0a49964c476974a77176f6bd8b935950a783d078) Signed-off-by: Marek Pieta <[email protected]>
1 parent fc9182d commit b514a31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/boot_serial/src/boot_serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
MCUBOOT_LOG_MODULE_DECLARE(mcuboot);
6565

6666
#define BOOT_SERIAL_INPUT_MAX 512
67-
#define BOOT_SERIAL_OUT_MAX 128
67+
#define BOOT_SERIAL_OUT_MAX (128 * MCUBOOT_IMAGE_NUMBER)
6868

6969
#ifdef __ZEPHYR__
7070
/* base64 lib encodes data to null-terminated string */

0 commit comments

Comments
 (0)