CONFIG_USB_WORKQUEUE_PRIORITY

USB workqueue priority

Type: int

Help

By default, USB work queue priority is the lowest cooperative
priority. This means that any work handler, once started, won't
be preempted by any other thread until finished.

Direct dependencies

USB_WORKQUEUE && USB_DEVICE_STACK

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

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

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

Menu path: (Top) → Sub Systems and OS Services → USB Device Support → Use a dedicate work queue in the USB subsystem

config USB_WORKQUEUE_PRIORITY
    int "USB workqueue priority"
    default -2 if COOP_ENABLED && !PREEMPT_ENABLED
    default 0 if !COOP_ENABLED
    default -1
    depends on USB_WORKQUEUE && USB_DEVICE_STACK
    help
      By default, USB work queue priority is the lowest cooperative
      priority. This means that any work handler, once started, won't
      be preempted by any other thread until finished.

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