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 5ebe873 commit e767f7aCopy full SHA for e767f7a
1 file changed
libraries/USBDevice/inc/usbd_conf.h
@@ -29,6 +29,9 @@ extern "C" {
29
/* Includes ------------------------------------------------------------------*/
30
#include "stm32_def.h"
31
32
+#if defined(USE_HALV2_DRIVER)
33
+#error "USB library is not yet compatible with HALv2 driver."
34
+#else
35
#if !defined(USB_BASE) && !defined(USB_OTG_DEVICE_BASE)
36
#error "This board does not support USB! Select 'None' in the 'Tools->USB interface' menu"
37
#endif
@@ -39,7 +42,7 @@ extern "C" {
39
42
#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
43
41
44
-
45
+#endif
46
#include <stdio.h>
47
#include <stdlib.h>
48
#include <string.h>
0 commit comments