CONFIG_USB_MAX_NUM_TRANSFERS

Set number of USB transfer data buffers

Type: int

Help

Allocates buffers used for parallel transfers. Increase this number according to USB devices count.

Direct dependencies

USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Default

  • 4

Kconfig definition

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

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

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

config USB_MAX_NUM_TRANSFERS
    int "Set number of USB transfer data buffers"
    range 1 32
    default 4
    depends on USB_DEVICE_STACK
    help
      Allocates buffers used for parallel transfers. Increase this number
      according to USB devices count.

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