Skip to content

Commit

Permalink
samples: bluetooth: hci_uart: Add support for 4 ST boards
Browse files Browse the repository at this point in the history
Provide the required overlay files for some ST boards to run hci_uart
sample. For nucleo_l476rg, one of the available x-nucleo boards
which provide BLE module should be used.

Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
  • Loading branch information
HoZHel committed Feb 29, 2024
1 parent 1b42aeb commit b082031
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions samples/bluetooth/hci_uart/boards/disco_l475_iot1.overlay
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */

/ {
chosen {
zephyr,bt-c2h-uart = &usart1;
};
};
7 changes: 7 additions & 0 deletions samples/bluetooth/hci_uart/boards/nucleo_l476rg.overlay
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */

/ {
chosen {
zephyr,bt-c2h-uart = &usart2;
};
};
7 changes: 7 additions & 0 deletions samples/bluetooth/hci_uart/boards/sensortile_box.overlay
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */

/ {
chosen {
zephyr,bt-c2h-uart = &usart1;
};
};
7 changes: 7 additions & 0 deletions samples/bluetooth/hci_uart/boards/sensortile_box_pro.overlay
@@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */

/ {
chosen {
zephyr,bt-c2h-uart = &cdc_acm_uart0;
};
};

0 comments on commit b082031

Please sign in to comment.