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>
This commit is contained in:
Vincent Palatin
2017-09-21 13:24:37 +02:00
committed by chrome-bot
parent 2faae86c08
commit 406302ffb0

View File

@@ -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