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 2727#include " arduino/ports/esp32/tusb_config_esp32.h"
2828#include " driver/gpio.h"
2929#include < Arduino.h>
30- #define MSBFIRST SPI_MSBFIRST
3130#endif
3231
3332#include " tusb_option.h"
Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ extern "C" {
6363// with no OTG USB MCU such as eps32, c3 etc...
6464//--------------------------------------------------------------------
6565
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-
7466// #ifndef CFG_TUSB_DEBUG
7567// #define CFG_TUSB_DEBUG 0
7668// #endif
Original file line number Diff line number Diff line change 4242 // Note: when compiling core Arduino IDEs will include tusb_config.h in the BSP
4343 // sdk/include/arduino_tinyusb/include. While compiling .c file in this library this
4444 // file will be used instead. For consistency: include the one in BSP here as well
45+ #include "sdkconfig.h"
4546 #if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
4647 #include "../../arduino_tinyusb/include/tusb_config.h"
4748 #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+
4854 #include "arduino/ports/esp32/tusb_config_esp32.h"
4955 #endif
5056
You can’t perform that action at this time.
0 commit comments