From b61676cf897821ea8599b940a62827583b6fb86a Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Tue, 22 Aug 2017 14:12:15 +0200 Subject: [PATCH] usb: disable HS mode & U2F iface for now --- 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 f031ba8330..5be004d304 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 de7e51b579..3dc7eb7128 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