1# Copyright (c) 2021 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config UDC_NRF
5	bool "Nordic Semiconductor USB device controller driver"
6	default y
7	depends on DT_HAS_NORDIC_NRF_USBD_ENABLED
8	select NRFX_USBD
9	select NRFX_POWER
10	help
11	  nRF USB device controller driver.
12
13if UDC_NRF
14
15config UDC_NRF_THREAD_STACK_SIZE
16	int "nRF UDC driver internal thread stack size"
17	default 512
18	help
19	  Size of the stack used in the driver for nRF USBD ISR event handling.
20
21config UDC_NRF_MAX_QMESSAGES
22	int "nRF UDC driver maximum number of ISR event messages"
23	range 4 64
24	default 8
25	help
26	  Maximum number of messages for handling of nRF USBD ISR events.
27
28endif # UDC_NRF
29