diff options
author | Mary Ruthven <mruthven@chromium.org> | 2022-07-29 14:25:32 -0500 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-08-03 20:26:46 +0000 |
commit | d16992c4a8febdceeeb1354ded73373613bad5a0 (patch) | |
tree | 271702e43b3250b14abfea5c377ff258ce14644d | |
parent | 06f1d9614840be130eb7ea000eb7fbf73a584136 (diff) | |
download | chrome-ec-d16992c4a8febdceeeb1354ded73373613bad5a0.tar.gz |
servo_micro: increase the usart4_to_usb buf size
The Cr50 console drops a lot of characters on servo micro. Increase the
uart4 buf size to match the EC and AP uart sizes.
BUG=b:240718978
BRANCH=servo release branch
TEST=basic check run `ccd` a bunch of times. Make sure characters aren't
dropped.
# full test
add chargen to cr50
run firmware_Cr50CCDUartStress through servo micro cr50
console.
Change-Id: I0c857310f88886dcffa29712c512c37dbe557f13
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3790822
Reviewed-by: Ziting Shen <zitingshen@google.com>
Reviewed-by: Brian Nemec <bnemec@google.com>
(cherry picked from commit 712d9ae17713f7b0cb267ce36d83b91b51e9c7f5)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3807127
Commit-Queue: Ziting Shen <zitingshen@google.com>
-rw-r--r-- | board/servo_micro/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/servo_micro/board.c b/board/servo_micro/board.c index 6bbbd85c84..bd4cbde59b 100644 --- a/board/servo_micro/board.c +++ b/board/servo_micro/board.c @@ -139,7 +139,7 @@ USB_STREAM_CONFIG_USART_IFACE(usart3_usb, static struct usart_config const usart4; struct usb_stream_config const usart4_usb; -static struct queue const usart4_to_usb = QUEUE_DIRECT(64, uint8_t, +static struct queue const usart4_to_usb = QUEUE_DIRECT(1024, uint8_t, usart4.producer, usart4_usb.consumer); static struct queue const usb_to_usart4 = QUEUE_DIRECT(64, uint8_t, usart4_usb.producer, usart4.consumer); |