Fix boot_serial size of allocated buffers

This increases the buffer size of the serial bootloader to 256, allowing a
slightly larger mtu and upload speed when doing image upload.

Signed-off-by: Fabio Utzig <utzig@apache.org>
This commit is contained in:
Fabio Utzig 2018-03-29 16:20:53 -03:00 committed by Fabio Utzig
parent 310445b8bc
commit 12f819fba6
1 changed files with 3 additions and 3 deletions

View File

@ -41,11 +41,11 @@
#include "bootutil/image.h"
#include "bootutil/bootutil.h"
#define BOOT_AREA_DESC_MAX (256)
#define AREA_DESC_MAX (BOOT_AREA_DESC_MAX)
#define BOOT_AREA_DESC_MAX (256)
#define AREA_DESC_MAX (BOOT_AREA_DESC_MAX)
#ifdef MCUBOOT_SERIAL
#define BOOT_SER_CONS_INPUT 128
#define BOOT_SER_CONS_INPUT 256
#endif
/*