Skip to content

Commit 4f81112

Browse files
committed
fix compatible with pio on esp32
1 parent f898cca commit 4f81112

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tusb_config.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@
4040

4141
#elif defined(ARDUINO_ARCH_ESP32)
4242
// For consistency: use the BSP sdk/include/arduino_tinyusb/include/tusb_config.h
43-
#include <tusb_config.h>
43+
// Note: platformio prioritize this file over the one in BSP, include BSP one is required
44+
#include "../../arduino_tinyusb/include/tusb_config.h"
4445

4546
#else
4647
#error TinyUSB Arduino Library does not support your core yet

0 commit comments

Comments
 (0)