zephyr/tests/bluetooth/shell/snippets/xterm-native-shell/xterm-native-shell.overlay
Théo Battrel 96d8682a5b Bluetooth: Shell: Fix native shell build
Following changes in HCI drivers
(https://github.com/zephyrproject-rtos/zephyr/pull/72323) the build for
the snippet allowing to have the Bluetooth shell run with BabbleSim was
broken.

Fix the snippet by disabling the HCI UART driver.

Add a twister test case that will build the snippet in CI to avoid
silent breaking.

Signed-off-by: Théo Battrel <theo.battrel@nordicsemi.no>
2024-07-10 11:47:07 -04:00

31 lines
614 B
Plaintext

/ {
chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
};
};
/* Use the PTY driver instead of the UART peripheral emulation that is now the
* default on nrf52_bsim. */
&uart1 {
status = "okay";
compatible = "zephyr,native-posix-uart";
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-1;
/delete-property/ pinctrl-names;
bt_hci_uart: bt_hci_uart {
compatible = "zephyr,bt-hci-uart";
status = "disabled";
};
};
&uart0 {
status = "okay";
compatible = "zephyr,native-posix-uart";
/delete-property/ pinctrl-0;
/delete-property/ pinctrl-1;
/delete-property/ pinctrl-names;
};