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>
16 lines
366 B
Plaintext
16 lines
366 B
Plaintext
CONFIG_ASSERT_ON_ERRORS=y
|
|
CONFIG_ASSERT=y
|
|
CONFIG_DEBUG_INFO=y
|
|
CONFIG_DEBUG_OPTIMIZATIONS=y
|
|
CONFIG_DEBUG_THREAD_INFO=y
|
|
|
|
# Enable RTT console
|
|
CONFIG_RTT_CONSOLE=y
|
|
|
|
CONFIG_LOG=y
|
|
CONFIG_LOG_BUFFER_SIZE=10000
|
|
|
|
# This outputs all HCI traffic to a separate RTT channel. Use `btmon
|
|
# --jlink` to read it out. Add `--priority 7` for debug logs.
|
|
CONFIG_BT_DEBUG_MONITOR_RTT=y
|