zephyr/tests/bluetooth/hci_uart_async/CMakeLists.txt
Aleksander Wasaznik 347ce7aa7f bluetooth: samples: Add hci_uart_async
This sample is an alternative implementation of hci_uart. The new sample
differs from the existing sample in that it uses the async UART API
instead of the interrupt driven API.

Included in this commit is a new test for HCI UART flow control. It's
enabled for hci_uart_async. The test can excercise also the existing
hci_uart sample (with some minimal changes to allow compiling in the
mock controller and test suite). The existing hci_uart sample currently
fails the flow control test.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
2023-09-28 14:07:52 +03:00

16 lines
397 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
set(EXTRA_CONF_FILE
../../../samples/bluetooth/hci_uart_async/prj.conf
)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(test_samples_bluetooth_hci_uart_async)
target_sources(app PRIVATE
../../../samples/bluetooth/hci_uart_async/src/hci_uart_async.c
src/test_hci_uart_async.c
)