We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a92a2 commit 8f85115Copy full SHA for 8f85115
drivers/usb/device/usb_dc_stm32.c
@@ -96,7 +96,11 @@ static const struct gpio_dt_spec ulpi_reset =
96
#define HIGH_SPEED USB_OTG_SPEED_HIGH
97
#endif
98
99
+#if DT_HAS_COMPAT_STATUS_OKAY(st_stm32_usb)
100
+#define FULL_SPEED PCD_SPEED_FULL
101
+#else
102
#define FULL_SPEED USB_OTG_SPEED_FULL
103
+#endif
104
/*
105
* USB, USB_OTG_FS and USB_DRD_FS are defined in STM32Cube HAL and allows to
106
* distinguish between two kind of USB DC. STM32 F0, F3, L0 and G4 series
0 commit comments