From ae17af23131cb829b3a1a8074622ef51b4d3264b Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 4 Sep 2017 14:22:37 +0200 Subject: [PATCH] Revert "usb: disable HS mode & U2F iface for now" This reverts commit b61676cf897821ea8599b940a62827583b6fb86a. --- embed/trezorhal/hal/stm32f4xx_hal_conf.h | 6 +++--- src/main.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/embed/trezorhal/hal/stm32f4xx_hal_conf.h b/embed/trezorhal/hal/stm32f4xx_hal_conf.h index 5be004d304..f031ba8330 100644 --- a/embed/trezorhal/hal/stm32f4xx_hal_conf.h +++ b/embed/trezorhal/hal/stm32f4xx_hal_conf.h @@ -46,9 +46,9 @@ /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ -#define USE_USB_FS -// #define USE_USB_HS -// #define USE_USB_HS_IN_FS +// #define USE_USB_FS +#define USE_USB_HS +#define USE_USB_HS_IN_FS /* ########################## Module Selection ############################## */ /** diff --git a/src/main.py b/src/main.py index 3dc7eb7128..de7e51b579 100644 --- a/src/main.py +++ b/src/main.py @@ -75,7 +75,7 @@ usb = io.USB( ) usb.add(usb_wire) usb.add(usb_vcp) -# usb.add(usb_u2f) +usb.add(usb_u2f) # load applications from apps.common import storage