File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,13 @@ extern "C" {
49
49
#error "ESP32 Arduino core version 2.0.8 or later is required"
50
50
#endif
51
51
52
+ #ifndef CFG_TUSB_OS
53
+ #define CFG_TUSB_OS OPT_OS_FREERTOS
54
+ // clang-format off
55
+ #define CFG_TUSB_OS_INC_PATH freertos/
56
+ // clang-format on
57
+ #endif
58
+
52
59
#ifndef CFG_TUD_LOG_LEVEL
53
60
#define CFG_TUD_LOG_LEVEL 2
54
61
#endif
Original file line number Diff line number Diff line change 46
46
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
47
47
#include "../../arduino_tinyusb/include/tusb_config.h"
48
48
#else
49
- #define CFG_TUSB_OS OPT_OS_FREERTOS
50
- // clang-format off
51
- #define CFG_TUSB_OS_INC_PATH freertos/
52
- // clang-format on
53
-
54
49
#include "arduino/ports/esp32/tusb_config_esp32.h"
55
50
#endif
56
51
You can’t perform that action at this time.
0 commit comments