CONFIG_USB_SELF_POWERED

Set Self-powered characteristic

Type: bool

Help

Set Self-powered characteristic in bmAttributes to indicate self powered USB device.

Direct dependencies

USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/subsys/usb/Kconfig:97

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:45

Menu path: (Top) → Sub Systems and OS Services → USB Device Support

config USB_SELF_POWERED
    bool "Set Self-powered characteristic"
    default y
    depends on USB_DEVICE_STACK
    help
      Set Self-powered characteristic in bmAttributes to indicate
      self powered USB device.

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