diff options
author | Anton Staaf <robotboy@chromium.org> | 2014-10-28 10:53:49 -0700 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-10-29 18:37:57 +0000 |
commit | d7b99e993a343cca6a6ba403b2837548a5524f09 (patch) | |
tree | e033543ba729dc95474da142a3c986d9f77549dd /board/discovery-stm32f072/board.c | |
parent | 450b882dee25ed1f5035531f898a9e75748e72c1 (diff) | |
download | chrome-ec-d7b99e993a343cca6a6ba403b2837548a5524f09.tar.gz |
discovery-stm32f072: Enable USB console
Signed-off-by: Anton Staaf <robotboy@chromium.org>
BRANCH=None
BUG=None
TEST=make buildall -j
Verify that the console is discovered and works.
Change-Id: I7bdf85c4435a6423acc915a61c1d1302052113a0
Reviewed-on: https://chromium-review.googlesource.com/225951
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Anton Staaf <robotboy@chromium.org>
Commit-Queue: Anton Staaf <robotboy@chromium.org>
Diffstat (limited to 'board/discovery-stm32f072/board.c')
-rw-r--r-- | board/discovery-stm32f072/board.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/board/discovery-stm32f072/board.c b/board/discovery-stm32f072/board.c index f6eea229b8..2e90a6a7f3 100644 --- a/board/discovery-stm32f072/board.c +++ b/board/discovery-stm32f072/board.c @@ -42,11 +42,12 @@ USB_GPIO_CONFIG(usb_gpio, USB_EP_GPIO) const void *const usb_strings[] = { - [USB_STR_DESC] = usb_string_desc, - [USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."), - [USB_STR_PRODUCT] = USB_STRING_DESC("discovery-stm32f072"), - [USB_STR_VERSION] = NULL /* filled at runtime */, - [USB_STR_STREAM_NAME] = USB_STRING_DESC("Echo"), + [USB_STR_DESC] = usb_string_desc, + [USB_STR_VENDOR] = USB_STRING_DESC("Google Inc."), + [USB_STR_PRODUCT] = USB_STRING_DESC("discovery-stm32f072"), + [USB_STR_VERSION] = NULL /* filled at runtime */, + [USB_STR_STREAM_NAME] = USB_STRING_DESC("Echo"), + [USB_STR_CONSOLE_NAME] = USB_STRING_DESC("EC"), }; BUILD_ASSERT(ARRAY_SIZE(usb_strings) == USB_STR_COUNT); |