Skip to content

Commit e67605b

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 d46c84c commit e67605b

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts

Lines changed: 8 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,7 @@
183187
&wwdg {
184188
status = "okay";
185189
};
190+
191+
zephyr_udc0: &usb {
192+
status = "okay";
193+
};

boards/st/nucleo_u385rg_q/nucleo_u385rg_q.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ supported:
1616
- spi
1717
- uart
1818
- usart
19+
- usb
20+
- usb_device
21+
- usbd
1922
- watchdog
2023
ram: 256
2124
flash: 1024

0 commit comments

Comments
 (0)