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>
diff --git a/boot/mynewt/src/main.c b/boot/mynewt/src/main.c
index 76280e7..b9f4e83 100755
--- a/boot/mynewt/src/main.c
+++ b/boot/mynewt/src/main.c
@@ -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
/*