Skip to content

Commit b76e68e

Browse files
pdgendtkartben
authored andcommitted
boards: st: stm32h573i_dk: Add Arduino serial node
Specify the Arduino serial node for a Discovery kit with STM32H573II MCU. Add supported features to board yaml file. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent c31b789 commit b76e68e

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

boards/st/stm32h573i_dk/arduino_r3_connector.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@
3737

3838
arduino_spi: &spi2 {};
3939
arduino_i2c: &i2c1 {};
40+
arduino_serial: &usart3 {};

boards/st/stm32h573i_dk/stm32h573i_dk.dts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,13 @@
233233
status = "okay";
234234
};
235235

236+
&usart3 {
237+
pinctrl-0 = <&usart3_tx_pb10 &usart3_rx_pb11>;
238+
pinctrl-names = "default";
239+
current-speed = <115200>;
240+
status = "okay";
241+
};
242+
236243
&timers2 {
237244
st,prescaler = <10000>;
238245
status = "okay";

boards/st/stm32h573i_dk/stm32h573i_dk.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ ram: 640
88
flash: 2048
99
supported:
1010
- arduino_gpio
11+
- arduino_i2c
12+
- arduino_serial
13+
- arduino_spi
1114
- gpio
1215
- uart
1316
- watchdog

0 commit comments

Comments
 (0)