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, L4 and G4 family of processors.

Direct dependencies

(USB && BOARD_MIKROE_MINI_M4_FOR_STM32) || (USB && SOC_FAMILY_STM32) || (SOC_FAMILY_STM32 && USB)

(Includes any dependencies from ifs and menus.)

Defaults

  • y

  • y

Kconfig definitions

At <Zephyr>/boards/arm/mikroe_mini_m4_for_stm32/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:24

Menu path: (Top)

config USB_DC_STM32
    bool
    default y
    depends on USB && BOARD_MIKROE_MINI_M4_FOR_STM32

At <Zephyr>/soc/arm/st_stm32/common/Kconfig.defconfig.series:61

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config USB_DC_STM32
    bool
    default y
    depends on USB && SOC_FAMILY_STM32

At <Zephyr>/drivers/usb/device/Kconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:32<Zephyr>/drivers/Kconfig:68<Zephyr>/drivers/usb/Kconfig:11

Menu path: (Top) → Device Drivers → USB

config USB_DC_STM32
    bool "USB device controller driver for STM32 devices"
    select USB_DEVICE_DRIVER
    select USE_STM32_LL_USB
    select USE_STM32_HAL_PCD
    select USE_STM32_HAL_PCD_EX
    depends on SOC_FAMILY_STM32 && USB
    help
      Enable USB support on the STM32 F0, F1, F2, F3, F4, F7, L0, L4 and G4 family of
      processors.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)