2024-03-07 02:12:51 +08:00
|
|
|
# Copyright (c) 2024 Croxel, Inc.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config UART_BT
|
|
|
|
bool "UART over NUS Bluetooth LE"
|
2024-03-26 04:08:36 +08:00
|
|
|
depends on BT_ZEPHYR_NUS
|
2024-03-07 02:12:51 +08:00
|
|
|
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).
|
2024-04-30 09:45:06 +08:00
|
|
|
|
|
|
|
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
|