zephyr/drivers/serial/Kconfig.bt
Luis Ubieda 413518e0c8 serial: bt: Set configurable options for the NUS Work-queue
Default priority set to Main Thread's and Stack-size set to 1KiB. This
should still allow for the System work-queue, considering this
Work-queue could be temporarily blocked on BT TX commands.

Signed-off-by: Luis Ubieda <luisf@croxel.com>
2024-05-13 16:17:58 -04:00

29 lines
778 B
Text

# Copyright (c) 2024 Croxel, Inc.
# SPDX-License-Identifier: Apache-2.0
config UART_BT
bool "UART over NUS Bluetooth LE"
depends on BT_ZEPHYR_NUS
depends on DT_HAS_ZEPHYR_NUS_UART_ENABLED
select UART_INTERRUPT_DRIVEN
select RING_BUFFER
select EXPERIMENTAL
help
Enable the UART over NUS Bluetooth driver, which can be used to pipe
serial data over Bluetooth LE GATT using NUS (Nordic UART Service).
if UART_BT
config UART_BT_WORKQUEUE_PRIORITY
int "UART NUS Work-queue Priority"
default MAIN_THREAD_PRIORITY
help
Select UART NUS Work-queue priority based on the application context.
config UART_BT_WORKQUEUE_STACK_SIZE
int "UART NUS Work-queue Stack Size"
default 1024
help
Set UART NUS Work-queue Stack-size based on the application context.
endif