File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 27
27
#include " arduino/ports/esp32/tusb_config_esp32.h"
28
28
#include " driver/gpio.h"
29
29
#include < Arduino.h>
30
- #define MSBFIRST SPI_MSBFIRST
31
30
#endif
32
31
33
32
#include " tusb_option.h"
Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ extern "C" {
63
63
// with no OTG USB MCU such as eps32, c3 etc...
64
64
//--------------------------------------------------------------------
65
65
66
- #ifndef CFG_TUSB_OS
67
- #define CFG_TUSB_OS OPT_OS_FREERTOS
68
-
69
- // clang-format off
70
- #define CFG_TUSB_OS_INC_PATH freertos/
71
- // clang-format on
72
- #endif
73
-
74
66
// #ifndef CFG_TUSB_DEBUG
75
67
// #define CFG_TUSB_DEBUG 0
76
68
// #endif
Original file line number Diff line number Diff line change 42
42
// Note: when compiling core Arduino IDEs will include tusb_config.h in the BSP
43
43
// sdk/include/arduino_tinyusb/include. While compiling .c file in this library this
44
44
// file will be used instead. For consistency: include the one in BSP here as well
45
+ #include "sdkconfig.h"
45
46
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
46
47
#include "../../arduino_tinyusb/include/tusb_config.h"
47
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
+
48
54
#include "arduino/ports/esp32/tusb_config_esp32.h"
49
55
#endif
50
56
You can’t perform that action at this time.
0 commit comments