diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2017-09-21 13:24:37 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-25 11:32:18 -0700 |
commit | 406302ffb09ecd0fa300b8faafea8e5cdcc1db07 (patch) | |
tree | 08883f80029289782738c79c9014694975d5b304 | |
parent | 2faae86c0828a8772ca73854e8346a8630b8e61a (diff) | |
download | chrome-ec-406302ffb09ecd0fa300b8faafea8e5cdcc1db07.tar.gz |
twinkie: enable WebUSB
Prepare the future and return a WebUSB descriptor to be able to use the
dongle from this website.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=twinkie
BUG=none
TEST=manual: enumerate WebUSB descriptors with lsusb and connect to
a WebUSB page in Chrome R61+.
Change-Id: I6a36538667ac114fc4b40cb87b2d6e946e265c4d
Reviewed-on: https://chromium-review.googlesource.com/677285
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r-- | board/twinkie/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/twinkie/board.h b/board/twinkie/board.h index 0419ae5a3f..cfb39ede1f 100644 --- a/board/twinkie/board.h +++ b/board/twinkie/board.h @@ -16,7 +16,9 @@ /* Optional features */ #define CONFIG_USB +#define CONFIG_USB_BOS #define CONFIG_USB_CONSOLE +#define CONFIG_WEBUSB_URL "storage.googleapis.com/webtwinkie.org/tool.html" #define CONFIG_USB_POWER_DELIVERY #define CONFIG_USB_PD_DUAL_ROLE |