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 14config UDC_AMBIQ_STACK_SIZE 15 int "UDC AMBIQ driver internal thread stack size" 16 depends on UDC_AMBIQ 17 default 2048 18 help 19 AMBIQ driver internal thread stack size. 20 21config UDC_AMBIQ_THREAD_PRIORITY 22 int "UDC AMBIQ driver thread priority" 23 depends on UDC_AMBIQ 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