This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_USB_DC_STM32_DISCONN_ENABLE

(No prompt – not directly user assignable.)

Type: bool

Help

Say Y if your board uses USB DISCONNECT pin to enable the
pull-up resistor on USB DP.

Direct dependencies

USB_DC_STM32 && USB_DEVICE_DRIVER

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At drivers/usb/device/Kconfig:34

Included via Kconfig:8Kconfig.zephyr:42drivers/Kconfig:70drivers/usb/Kconfig:6

Menu path: (Top) → Device Drivers → Enable USB device controller drivers → USB device controller driver for STM32 devices

config USB_DC_STM32_DISCONN_ENABLE
    bool
    depends on USB_DC_STM32 && USB_DEVICE_DRIVER
    help
      Say Y if your board uses USB DISCONNECT pin to enable the
      pull-up resistor on USB DP.

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