CONFIG_USB_MAX_ALT_SETTING

Size of the array where alternate settings are stored

Type: int

Help

Size of the array where alternate settings are stored.
Should not be smaller than the number of interfaces.

Direct dependencies

USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 8

Kconfig definition

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:49

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

config USB_MAX_ALT_SETTING
    int "Size of the array where alternate settings are stored"
    range 0 16
    default 8
    depends on USB_DEVICE_STACK
    help
      Size of the array where alternate settings are stored.
      Should not be smaller than the number of interfaces.

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