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:
parent
310445b8bc
commit
12f819fba6
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue