Skip to content
Commit d1a3f4f4 authored by Johan Hedberg's avatar Johan Hedberg Committed by Mahesh Mahadevan
Browse files

Bluetooth: Host: Fix monitor UART selection



Most boards set zephyr,bt-mon-uart to point at the same device as
zephyr,console. It's still useful to have the possibility of having these
as two different devices, however it's useful to fall back to the UART
console in case a dedicated monitor UART hasn't been specified.

This also ensures that the fallback only happens if the console UART isn't
enabled, but a DT chosen property exists for it. Additionally, we now get a
user friendly error in case the Bluetooth UART monitor feature has been
enabled in Kconfig but there isn't a suitable UART available for it in
devicetree.

Signed-off-by: default avatarJohan Hedberg <johan.hedberg@silabs.com>
parent 4e776408
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment