Bluetooth: Add option to log btsnoops over RTT

There is a choice to log btmon logs over UART or RTT.
You can choose number of RTT buffer, set its name and size.

Replaced CONFIG_BT_DEBUG_MONITOR with CONFIG_BT_DEBUG_MONITOR_UART
for UART usage and CONFIG_BT_DEBUG_MONITOR_RTT for RTT.

Signed-off-by: Magdalena Kasenberg <magdalena.kasenberg@codecoup.pl>
This commit is contained in:
Magdalena Kasenberg 2021-04-17 13:33:20 +02:00 committed by Carles Cufí
commit d0e0af74da
23 changed files with 95 additions and 30 deletions

View file

@ -64,7 +64,7 @@ CONFIG_BT_MESH_LABEL_COUNT=3
CONFIG_UART_CONSOLE=y
# this outputs btmon formatted data to the serial port
#CONFIG_BT_DEBUG_MONITOR=y
#CONFIG_BT_DEBUG_MONITOR_UART=y
CONFIG_BT_DEBUG_LOG=y