minor change config

This commit is contained in:
hathach 2024-02-05 18:30:42 +07:00
parent 2ff208bbe0
commit 6c7624fcdc
2 changed files with 7 additions and 5 deletions

View file

@ -49,6 +49,13 @@ extern "C" {
#error "ESP32 Arduino core version 2.0.8 or later is required"
#endif
#ifndef CFG_TUSB_OS
#define CFG_TUSB_OS OPT_OS_FREERTOS
// clang-format off
#define CFG_TUSB_OS_INC_PATH freertos/
// clang-format on
#endif
#ifndef CFG_TUD_LOG_LEVEL
#define CFG_TUD_LOG_LEVEL 2
#endif

View file

@ -46,11 +46,6 @@
#if CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3
#include "../../arduino_tinyusb/include/tusb_config.h"
#else
#define CFG_TUSB_OS OPT_OS_FREERTOS
// clang-format off
#define CFG_TUSB_OS_INC_PATH freertos/
// clang-format on
#include "arduino/ports/esp32/tusb_config_esp32.h"
#endif