Skip to content

Commit 2173882

Browse files
wjklimek1kartben
authored andcommitted
boards: stm32: Add zephyr_udc0 to nucleo_h503rb
Added config of USB peripheral for Nucleo H503RB. Signed-off-by: Wojciech Klimek <[email protected]>
1 parent befb464 commit 2173882

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

boards/st/nucleo_h503rb/nucleo_h503rb.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,9 @@
114114
clock-frequency = <I2C_BITRATE_FAST>;
115115
status = "okay";
116116
};
117+
118+
zephyr_udc0: &usb {
119+
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
120+
pinctrl-names = "default";
121+
status = "okay";
122+
};

boards/st/nucleo_h503rb/nucleo_h503rb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ supported:
1414
- uart
1515
- i2c
1616
- watchdog
17+
- usb_device
1718
vendor: st

0 commit comments

Comments
 (0)