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	select SERIAL_SUPPORT_INTERRUPT
12	help
13	  Enable the UART over NUS Bluetooth driver, which can be used to pipe
14	  serial data over Bluetooth LE GATT using NUS (Nordic UART Service).
15
16if UART_BT
17
18config UART_BT_WORKQUEUE_PRIORITY
19	int "UART NUS Work-queue Priority"
20	default MAIN_THREAD_PRIORITY
21	help
22	  Select UART NUS Work-queue priority based on the application context.
23
24config UART_BT_WORKQUEUE_STACK_SIZE
25	int "UART NUS Work-queue Stack Size"
26	default 1024
27	help
28	  Set UART NUS Work-queue Stack-size based on the application context.
29
30endif
31