From 406302ffb09ecd0fa300b8faafea8e5cdcc1db07 Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Thu, 21 Sep 2017 13:24:37 +0200 Subject: 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 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 Tested-by: Vincent Palatin Reviewed-by: Vincent Palatin --- board/twinkie/board.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board/twinkie') 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 -- cgit v1.2.1