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

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

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

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