1# Copyright (c) 2024 Ambiq Micro Inc. 2# SPDX-License-Identifier: Apache-2.0 3 4config UDC_AMBIQ 5 bool "USB device controller driver for ambiq devices" 6 default y 7 depends on DT_HAS_AMBIQ_USB_ENABLED 8 select GPIO 9 select AMBIQ_HAL 10 select AMBIQ_HAL_USE_USB 11 help 12 Enable USB Device Controller Driver. 13 14if UDC_AMBIQ 15 16config UDC_AMBIQ_STACK_SIZE 17 int "UDC AMBIQ driver internal thread stack size" 18 default 2048 19 help 20 AMBIQ driver internal thread stack size. 21 22config UDC_AMBIQ_THREAD_PRIORITY 23 int "UDC AMBIQ driver thread priority" 24 default 8 25 help 26 AMBIQ driver thread priority. 27 28 29config UDC_AMBIQ_MAX_QMESSAGES 30 int "UDC AMBIQ maximum number of ISR event messages" 31 range 4 64 32 default 8 33 help 34 AMBIQ maximum number of ISR event messages. 35 36endif # UDC_AMBIQ 37