From 9c306815c2330caa60e942ba12f04d19a15ce736 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 16 Mar 2023 07:10:39 +0100 Subject: [PATCH] drivers/periph_common: add periph_usbdev_hs feature in Kconfig --- drivers/periph_common/Kconfig.usbdev | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/periph_common/Kconfig.usbdev b/drivers/periph_common/Kconfig.usbdev index a84dc44d30..32a364b558 100644 --- a/drivers/periph_common/Kconfig.usbdev +++ b/drivers/periph_common/Kconfig.usbdev @@ -22,6 +22,16 @@ config MODULE_PERIPH_INIT_USBDEV bool "Auto initialize USBDEV peripheral" default y if MODULE_PERIPH_INIT +config MODULE_PERIPH_USBDEV_HS + bool "Use USB HS peripheral" + depends on HAS_PERIPH_USBDEV_HS + default y if MODULE_PERIPH_INIT_USBDEV_HS_ULPI || MODULE_PERIPH_USBDEV_HS_UTMI + +config MODULE_PERIPH_INIT_USBDEV_HS + bool + depends on MODULE_PERIPH_USBDEV_HS + default y if MODULE_PERIPH_INIT + config MODULE_PERIPH_USBDEV_HS_ULPI bool "Use USB HS peripheral with ULPI HS PHY" depends on HAS_PERIPH_USBDEV_HS_ULPI