zephyr/drivers/usb/udc/Kconfig.nrf
Tomasz Moń 8db6919695 nrfx_usbd: Rename to nrf_usbd_common
Rename local usbd copy from nrfx_usbd to nrf_usbd_common and use it in
both USB stacks. Renaming header to nrf_usbd_common.h allows breaking
changes in exposed interface. Mark all doxygen comments as internal
because local usbd copy should not be treated as public interface
because we are under refactoring process that aims to arrive at native
driver and therefore drop nrf_usbd_common in the future.

Use Zephyr constructs directly instead of nrfx glue macros.

No functional changes.

Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
2023-11-07 14:06:51 +01:00

29 lines
687 B
Plaintext

# Copyright (c) 2021 Nordic Semiconductor ASA
# SPDX-License-Identifier: Apache-2.0
config UDC_NRF
bool "Nordic Semiconductor USB device controller driver"
default y
depends on DT_HAS_NORDIC_NRF_USBD_ENABLED
select NRF_USBD_COMMON
select NRFX_POWER
help
nRF USB device controller driver.
if UDC_NRF
config UDC_NRF_THREAD_STACK_SIZE
int "nRF UDC driver internal thread stack size"
default 512
help
Size of the stack used in the driver for nRF USBD ISR event handling.
config UDC_NRF_MAX_QMESSAGES
int "nRF UDC driver maximum number of ISR event messages"
range 4 64
default 8
help
Maximum number of messages for handling of nRF USBD ISR events.
endif # UDC_NRF