Skip to content

Commit 8c00a8f

Browse files
committed
boards: st: nucleo_u385rg_q: USB device support
Enable USB for the Nucleo U385RG-Q. Samples in samples/subsys/usb compile and operate as expected. Signed-off-by: Will McGloughlin <[email protected]>
1 parent 0569293 commit 8c00a8f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
status = "okay";
108108
};
109109

110+
&clk_hsi48 {
111+
status = "okay";
112+
};
113+
110114
&clk_lse {
111115
status = "okay";
112116
};
@@ -190,3 +194,9 @@
190194
&wwdg {
191195
status = "okay";
192196
};
197+
198+
zephyr_udc0: &usb {
199+
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
200+
pinctrl-names = "default";
201+
status = "okay";
202+
};

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ supported:
1717
- spi
1818
- uart
1919
- usart
20+
- usb_device
21+
- usbd
2022
- watchdog
2123
ram: 256
2224
flash: 1024

0 commit comments

Comments
 (0)