-
CONFIG_USB_DC_STM32
¶
USB device controller driver for STM32 devices
Type: bool
Help¶
Enable USB support on the STM32 F0, F1, F2, F3, F4, F7, L0 and L4 family of processors.
Direct dependencies¶
(USB
&& SOC_FAMILY_STM32
) || (SOC_FAMILY_STM32
&& USB
)
(Includes any dependencies from if’s and menus.)
Defaults¶
- “y” if
USB
&&SOC_FAMILY_STM32
Symbols selected by this symbol¶
USB_DEVICE_DRIVER
ifSOC_FAMILY_STM32
&&USB
USE_STM32_LL_USB
if !SOC_SERIES_STM32F0X
&& !SOC_SERIES_STM32F3X
&& !SOC_SERIES_STM32L0X
&&SOC_FAMILY_STM32
&&USB
USE_STM32_HAL_PCD
ifSOC_FAMILY_STM32
&&USB
USE_STM32_HAL_PCD_EX
ifSOC_FAMILY_STM32
&&USB
HAS_DTS_USB
ifSOC_FAMILY_STM32
&&USB
Kconfig definitions¶
At arch/arm/soc/st_stm32/common/Kconfig.defconfig.series:70
Included via Kconfig:10
→ Kconfig.zephyr:20
→ arch/arm/soc/st_stm32/Kconfig.defconfig:1
Menu path: (top menu)
config USB_DC_STM32 bool default "y" ifUSB
&&SOC_FAMILY_STM32
depends onUSB
&&SOC_FAMILY_STM32
At drivers/usb/device/Kconfig:32
Included via Kconfig:10
→ Kconfig.zephyr:29
→ drivers/Kconfig:70
→ drivers/usb/Kconfig:14
Menu path: (top menu) → Device Drivers → USB
config USB_DC_STM32 bool prompt "USB device controller driver for STM32 devices" ifSOC_FAMILY_STM32
&&USB
selectUSB_DEVICE_DRIVER
ifSOC_FAMILY_STM32
&&USB
selectUSE_STM32_LL_USB
if !SOC_SERIES_STM32F0X
&& !SOC_SERIES_STM32F3X
&& !SOC_SERIES_STM32L0X
&&SOC_FAMILY_STM32
&&USB
selectUSE_STM32_HAL_PCD
ifSOC_FAMILY_STM32
&&USB
selectUSE_STM32_HAL_PCD_EX
ifSOC_FAMILY_STM32
&&USB
selectHAS_DTS_USB
ifSOC_FAMILY_STM32
&&USB
depends onSOC_FAMILY_STM32
&&USB
help Enable USB support on the STM32 F0, F1, F2, F3, F4, F7, L0 and L4 family of processors.
(Definitions include propagated dependencies, including from if’s and menus.)