zephyr/drivers/serial/Kconfig.bt
Fabio Baltieri d79e9e7d3a serial: uart_bt: select SERIAL_SUPPORT_INTERRUPT
Select SERIAL_SUPPORT_INTERRUPT for uart_bt, this is required to have
the interrupt API available.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2025-05-19 18:39:16 +01:00

30 lines
811 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
select SERIAL_SUPPORT_INTERRUPT
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