File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ extern "C" {
45
45
//--------------------------------------------------------------------+
46
46
#include "esp_arduino_version.h"
47
47
48
+ #if ESP_ARDUINO_VERSION < ESP_ARDUINO_VERSION_VAL (2 , 0 , 7 )
49
+ #error "ESP32 Arduino core version 2.0.7 or later is required"
50
+ #endif
51
+
48
52
#ifndef CFG_TUD_LOG_LEVEL
49
53
#define CFG_TUD_LOG_LEVEL 2
50
54
#endif
@@ -74,11 +78,6 @@ extern "C" {
74
78
// Enable host stack with MAX3421E (host shield)
75
79
#define CFG_TUH_ENABLED 1
76
80
#define CFG_TUH_MAX_SPEED OPT_MODE_FULL_SPEED
77
-
78
- #ifndef TUH_OPT_HIGH_SPEED
79
- #define TUH_OPT_HIGH_SPEED 0
80
- #endif
81
-
82
81
#define CFG_TUH_MAX3421 1
83
82
84
83
#ifndef CFG_TUH_MAX3421_ENDPOINT_TOTAL
Original file line number Diff line number Diff line change 271
271
#define TUSB_OPT_HOST_ENABLED CFG_TUH_ENABLED
272
272
273
273
// highspeed support indicator
274
- #ifndef TUH_OPT_HIGH_SPEED
275
274
#define TUH_OPT_HIGH_SPEED (CFG_TUH_MAX_SPEED ? (CFG_TUH_MAX_SPEED & OPT_MODE_HIGH_SPEED) : TUP_RHPORT_HIGHSPEED)
276
- #endif
277
275
278
276
//--------------------------------------------------------------------+
279
277
// TODO move later
You can’t perform that action at this time.
0 commit comments