Skip to content

Commit ac0bf71

Browse files
erwangocarlescufi
authored andcommitted
boards: nucleo_wb5rg: Add a c2h device
Add a chosen c2h to enable use of transparent mode over uart. Additionally add cts/rts pins and enable hw flow control to lpuart1 for H4 protocol support. Signed-off-by: Erwan Gouriou <[email protected]>
1 parent ec37ced commit ac0bf71

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

boards/arm/nucleo_wb55rg/nucleo_wb55rg.dts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
zephyr,console = &usart1;
1818
zephyr,shell-uart = &usart1;
1919
zephyr,bt-mon-uart = &lpuart1;
20+
zephyr,bt-c2h-uart = &lpuart1;
2021
zephyr,sram = &sram0;
2122
zephyr,flash = &flash0;
2223
zephyr,code-partition = &slot0_partition;
@@ -159,7 +160,9 @@
159160
};
160161

161162
&lpuart1 {
162-
pinctrl-0 = <&lpuart1_tx_pa2 &lpuart1_rx_pa3>;
163+
pinctrl-0 = <&lpuart1_tx_pc1 &lpuart1_rx_pc0
164+
&lpuart1_cts_pa6 &lpuart1_rts_pb12>;
165+
hw-flow-control;
163166
pinctrl-names = "default";
164167
current-speed = <115200>;
165168
status = "okay";

0 commit comments

Comments
 (0)