The latest development version of this page may be more current than this released 2.7.5 version.

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 subsys/usb/Kconfig:113

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:49

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.)