Skip to content

Commit c8b8ddc

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 2bbcf45 commit c8b8ddc

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
@@ -106,6 +106,10 @@
106106
status = "okay";
107107
};
108108

109+
&clk_hsi48 {
110+
status = "okay";
111+
};
112+
109113
&clk_lse {
110114
status = "okay";
111115
};
@@ -183,3 +187,9 @@
183187
&wwdg {
184188
status = "okay";
185189
};
190+
191+
zephyr_udc0: &usb {
192+
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
193+
pinctrl-names = "default";
194+
status = "okay";
195+
};

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.yaml

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

0 commit comments

Comments
 (0)