We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cc110 commit e900175Copy full SHA for e900175
cores/arduino/stm32/usb/usbd_conf.h
@@ -35,6 +35,10 @@ extern "C" {
35
#if defined(USE_USB_HS) && !defined(USB_OTG_HS)
36
#error "This board does not support USB High Speed! Select 'Full Speed' in the 'Tools->USB interface' menu"
37
#endif
38
+#if !defined(USB_BASE) && !defined(USB_OTG_FS) && defined(USB_OTG_HS) && !defined(USE_USB_HS)
39
+#error "This board support only USB High Speed! Select 'High Speed' or 'High Speed in Full Speed mode' in the 'Tools->USB interface' menu"
40
+#endif
41
+
42
43
#include <stdio.h>
44
#include <stdlib.h>
0 commit comments