boards: nrf52_bsim: Add support for using UART as HCI
Add support for using an UART instead of the native controller. This is accomplished with a custom DTS overlay for the tests that require it. Signed-off-by: Johan Hedberg <johan.hedberg@gmail.com>
This commit is contained in:
parent
97c3a1e4be
commit
db753c1474
4 changed files with 15 additions and 4 deletions
|
@ -10,7 +10,8 @@ set -ue
|
|||
|
||||
source ${ZEPHYR_BASE}/tests/bsim/compile.source
|
||||
|
||||
app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_hci_uart.conf compile
|
||||
app=tests/bsim/bluetooth/ll/conn conf_file=prj_split_hci_uart.conf \
|
||||
cmake_extra_args=-DEXTRA_DTC_OVERLAY_FILE=hci-uart.overlay compile
|
||||
app=samples/bluetooth/hci_uart compile
|
||||
app=samples/bluetooth/hci_uart_async compile
|
||||
|
||||
|
|
5
tests/bsim/bluetooth/ll/conn/hci-uart.overlay
Normal file
5
tests/bsim/bluetooth/ll/conn/hci-uart.overlay
Normal file
|
@ -0,0 +1,5 @@
|
|||
/ {
|
||||
chosen {
|
||||
zephyr,bt-hci = &bt_hci_uart;
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue