1# Copyright (c) 2024 Croxel, Inc.
2# SPDX-License-Identifier: Apache-2.0
3
4config UART_BT
5	bool "UART over NUS Bluetooth LE"
6	depends on BT_ZEPHYR_NUS
7	depends on DT_HAS_ZEPHYR_NUS_UART_ENABLED
8	select UART_INTERRUPT_DRIVEN
9	select RING_BUFFER
10	select EXPERIMENTAL
11	help
12	  Enable the UART over NUS Bluetooth driver, which can be used to pipe
13	  serial data over Bluetooth LE GATT using NUS (Nordic UART Service).
14
15if UART_BT
16
17config UART_BT_WORKQUEUE_PRIORITY
18	int "UART NUS Work-queue Priority"
19	default MAIN_THREAD_PRIORITY
20	help
21	  Select UART NUS Work-queue priority based on the application context.
22
23config UART_BT_WORKQUEUE_STACK_SIZE
24	int "UART NUS Work-queue Stack Size"
25	default 1024
26	help
27	  Set UART NUS Work-queue Stack-size based on the application context.
28
29endif
30